forked from phoenix/litellm-mirror
(test) langfuse
This commit is contained in:
parent
f6a8ade91a
commit
7977f92bd2
1 changed files with 6 additions and 6 deletions
|
@ -95,9 +95,9 @@ def test_langfuse_logging_async():
|
||||||
response = asyncio.run(_test_langfuse())
|
response = asyncio.run(_test_langfuse())
|
||||||
print(f"response: {response}")
|
print(f"response: {response}")
|
||||||
|
|
||||||
time.sleep(2)
|
# time.sleep(2)
|
||||||
# check langfuse.log to see if there was a failed response
|
# # check langfuse.log to see if there was a failed response
|
||||||
search_logs("langfuse.log")
|
# search_logs("langfuse.log")
|
||||||
except litellm.Timeout as e:
|
except litellm.Timeout as e:
|
||||||
pass
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -119,9 +119,9 @@ def test_langfuse_logging():
|
||||||
temperature=0.2,
|
temperature=0.2,
|
||||||
)
|
)
|
||||||
print(response)
|
print(response)
|
||||||
time.sleep(5)
|
# time.sleep(5)
|
||||||
# check langfuse.log to see if there was a failed response
|
# # check langfuse.log to see if there was a failed response
|
||||||
search_logs("langfuse.log")
|
# search_logs("langfuse.log")
|
||||||
|
|
||||||
except litellm.Timeout as e:
|
except litellm.Timeout as e:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue