Skip to content
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

fix: o3-mini doesn't support temperature #266

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

joshua-mo-143
Copy link
Contributor

Fixes #258

Admittedly this is a bit of a crude fix, but should work for now until we can find a better way to do this (which will probably take more time).

Copy link
Contributor

@0xMochan 0xMochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we do check for model strings in Anthropic, ideally we avoid is as much as possible...

I think it be simpler to refactor the code snippet to not include temperature in the json blob unless defined. Future work will involve defining a proper CompletionRequest model rather than raw json!

rig-core/src/providers/openai.rs Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: o3-mini temperature parameter
2 participants