Skip to content

Commit

Permalink
add 3sec delay to check logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhe-log10 committed Nov 19, 2024
1 parent 3ddc349 commit 4e09c53
Showing 1 changed file with 4 additions and 0 deletions.
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
Expand All @@ -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()


Expand Down

0 comments on commit 4e09c53

Please sign in to comment.