Skip to content

Commit f6f80c3

Browse files
committed
push
1 parent 7c4eade commit f6f80c3

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
runs-on: ubuntu-latest
5959
timeout-minutes: 30
6060
env:
61-
LANGFUSE_HOST: "http://localhost:3000"
61+
LANGFUSE_BASE_URL: "http://localhost:3000"
6262
LANGFUSE_PUBLIC_KEY: "pk-lf-1234567890"
6363
LANGFUSE_SECRET_KEY: "sk-lf-1234567890"
6464
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

tests/api_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def __init__(self, username=None, password=None, base_url=None):
99
username = username if username else os.environ["LANGFUSE_PUBLIC_KEY"]
1010
password = password if password else os.environ["LANGFUSE_SECRET_KEY"]
1111
self.auth = (username, password)
12-
self.BASE_URL = base_url if base_url else os.environ["LANGFUSE_HOST"]
12+
self.BASE_URL = base_url if base_url else os.environ["LANGFUSE_BASE_URL"]
1313

1414
def get_observation(self, observation_id):
1515
sleep(1)

tests/test_deprecation.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
"""Tests for deprecation warnings on deprecated functions."""
22

33
import warnings
4-
import pytest
54
from unittest.mock import patch
65

6+
import pytest
7+
78
from langfuse import Langfuse
89

910

@@ -54,7 +55,7 @@ def langfuse_client(self):
5455
{
5556
"LANGFUSE_PUBLIC_KEY": "test_key",
5657
"LANGFUSE_SECRET_KEY": "test_secret",
57-
"LANGFUSE_HOST": "http://localhost:3000",
58+
"LANGFUSE_BASE_URL": "http://localhost:3000",
5859
},
5960
):
6061
return Langfuse()

tests/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_api():
2222
return FernLangfuse(
2323
username=os.environ.get("LANGFUSE_PUBLIC_KEY"),
2424
password=os.environ.get("LANGFUSE_SECRET_KEY"),
25-
base_url=os.environ.get("LANGFUSE_HOST"),
25+
base_url=os.environ.get("LANGFUSE_BASE_URL"),
2626
)
2727

2828

0 commit comments

Comments
 (0)