Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade litellm 1.52.8 for Snyk #360

Merged
merged 13 commits into from
Nov 20, 2024
Prev Previous commit
Next Next commit
add 3sec delay to check logs
  • Loading branch information
wenzhe-log10 committed Nov 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 4e09c536899213e62cba93d209ac653178542711
4 changes: 4 additions & 0 deletions tests/test_magentic_perplexity.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import time

import litellm
import pytest
from magentic import StreamedStr, prompt
@@ -21,6 +23,8 @@ def llm() -> str: ...
output = llm()
assert isinstance(output, str)

time.sleep(3)

_LogAssertion(completion_id=session.last_completion_id(), message_content=output).assert_chat_response()