Skip to content

fix: omit temperature for search models and add tests #3315

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

LEEJaeHyeok97
Copy link

This PR fixes issue #3253 by ensuring that the temperature field is omitted from the request when using OpenAI search models (e.g. text-search-*). For chat models, it preserves the default temperature unless the user explicitly overrides it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants