Skip to content

Commit

Permalink
Fix test error
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Dec 19, 2024
1 parent 9dd2ac2 commit 449dcca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/models/api/test_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_llm_request(self):
self.assertEqual(len(valid_request.history), len(test_history))
self.assertEqual(len(valid_request.to_completion_kwargs()['messages']),
2 * valid_request.max_history + 2)
self.assertEqual(valid_request.to_completion_kwargs()['messages'][-1],
self.assertEqual(valid_request.to_completion_kwargs()['messages'][-1]['content'],
test_query)

# Valid explicit streaming
Expand Down

0 comments on commit 449dcca

Please sign in to comment.