Skip to content

Commit 935b5d9

Browse files
committed
fix(models): temperature attribute in models
1 parent 4261ec9 commit 935b5d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/working_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ async def _test_model_completion(
4848
"model": model_id,
4949
"messages": [{"role": "user", "content": test_prompt}],
5050
"max_tokens": model.max_tokens,
51-
"temperature": model.max_tokens,
51+
"temperature": model.temperature,
5252
"max_tokens": model.max_tokens,
53-
"temperature": model.max_tokens,
53+
"temperature": model.temperature,
5454
}
5555
send_func = client.send_chat_completion
5656
else:

0 commit comments

Comments
 (0)