Skip to content

Commit

Permalink
Update magentic test to assert completion id in the platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kxtran committed Jun 17, 2024
1 parent 3f7774c commit cf492be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_magentic.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,4 @@ def _llm() -> str: ...

output = _llm()
assert isinstance(output, str)
_LogAssertion(completion_id=session.last_completion_id(), message_content=output).assert_chat_response()

0 comments on commit cf492be

Please sign in to comment.