Skip to content

Commit

Permalink
fix: change object parameter for Chat to comply with Pydantic val…
Browse files Browse the repository at this point in the history
…idation
  • Loading branch information
mmikita95 committed Nov 27, 2024
1 parent ec53f21 commit b51c36e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/backend/test_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def mock_non_streaming_client():
],
created=0,
model="test",
object="test"
object="chat.completion"
)
non_streaming_client.completions.create.return_value = \
Completion(choices=[{"text": test_complete_literal}])
Expand Down

0 comments on commit b51c36e

Please sign in to comment.