Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
max token as 1
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 24, 2024
1 parent 8c6a2ac commit 90bd3ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def test_messages():
"""
try:
message = client.messages.create(
max_tokens=10,
max_tokens=1,
messages=[
{
"role": "user",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_mistral.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_chat():
message = client.chat(
model="mistral-large-latest",
messages=messages,
max_tokens=10,
max_tokens=1,
)
assert message.object == 'chat.completion'

Expand Down

0 comments on commit 90bd3ef

Please sign in to comment.