We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 477a1c9 + 017e488 commit 0625b11Copy full SHA for 0625b11
2 files changed
langfuse/_client/client.py
@@ -270,7 +270,7 @@ def __init__(
270
secret_key=secret_key,
271
host=self._host,
272
timeout=timeout,
273
- environment=environment,
+ environment=self._environment,
274
release=release,
275
flush_at=flush_at,
276
flush_interval=flush_interval,
tests/test_openai.py
@@ -94,6 +94,7 @@ def test_openai_chat_completion_stream(openai):
94
assert len(chat_content) > 0
95
96
langfuse.flush()
97
+ sleep(1)
98
99
generation = get_api().observations.get_many(
100
name=generation_name, type="GENERATION"
0 commit comments