Temperature fix for O-models (#3048)
Some checks are pending
Run tests and pre-commit / Run tests and pre-commit hooks (push) Waiting to run
Run tests and pre-commit / Frontend Lint and Build (push) Waiting to run
Publish Fern Docs / run (push) Waiting to run

This commit is contained in:
Shuchang Zheng 2025-07-28 14:31:10 -07:00 committed by GitHub
parent baee57589b
commit ffce05c6ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -558,6 +558,7 @@ if settings.ENABLE_AZURE_O4_MINI:
supports_vision=True,
add_assistant_prefix=False,
max_completion_tokens=100000,
temperature=None, # Temperature isn't supported in the O-model series
),
)
@ -582,6 +583,7 @@ if settings.ENABLE_AZURE_O3:
supports_vision=True,
add_assistant_prefix=False,
max_completion_tokens=100000,
temperature=None, # Temperature isn't supported in the O-model series
),
)
if settings.ENABLE_VOLCENGINE: