mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test: skip flaky langsmith tests
This commit is contained in:
parent
c8ae6cbd37
commit
2ac07c2e4f
1 changed files with 6 additions and 4 deletions
|
|
@ -60,8 +60,9 @@ async def test_async_langsmith_logging():
|
|||
print("fields in logged_run_on_langsmith", logged_run_on_langsmith.keys())
|
||||
|
||||
input_fields_on_langsmith = logged_run_on_langsmith.get("inputs")
|
||||
_extra = logged_run_on_langsmith.get("extra", {}) or {}
|
||||
extra_fields_on_langsmith = _extra.get("invocation_params")
|
||||
extra_fields_on_langsmith = logged_run_on_langsmith.get("extra").get(
|
||||
"invocation_params"
|
||||
)
|
||||
|
||||
print("\nLogged INPUT ON LANGSMITH", input_fields_on_langsmith)
|
||||
|
||||
|
|
@ -164,8 +165,9 @@ async def test_async_langsmith_logging_with_streaming_and_metadata(sync_mode):
|
|||
|
||||
input_fields_on_langsmith = logged_run_on_langsmith.get("inputs")
|
||||
|
||||
_extra = logged_run_on_langsmith.get("extra", {}) or {}
|
||||
extra_fields_on_langsmith = _extra.get("invocation_params")
|
||||
extra_fields_on_langsmith = logged_run_on_langsmith.get("extra").get(
|
||||
"invocation_params"
|
||||
)
|
||||
|
||||
assert logged_run_on_langsmith.get("run_type") == "llm"
|
||||
print("\nLogged INPUT ON LANGSMITH", input_fields_on_langsmith)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue