Skip to content

Commit

Permalink
fix test_mistralai_stream_chat
Browse files Browse the repository at this point in the history
  • Loading branch information
luc committed Apr 6, 2024
1 parent f0fa1d2 commit c3c417c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_mistralai.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ async def test_mistralai_async_chat(tracer_init):
def test_mistralai_stream_chat(tracer_init):
client = MistralClient()
stream = client.chat_stream(
model="gpt-3.5-turbo",
messages=[{"role": "user", "content": "Hello World!"}],
messages=[{"role": "user", "content": "Hello World!"}], model="mistral-tiny"
)
for chunk in stream:
assert chunk.impacts.energy >= 0

0 comments on commit c3c417c

Please sign in to comment.