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

Merged
merged 4 commits into from
Feb 12, 2025

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!

@cvauclair cvauclair requested a review from 0xMochan February 10, 2025 16:43
@cvauclair cvauclair added this to the 2025-02-24 milestone Feb 10, 2025
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.

Looks good

@0xMochan 0xMochan merged commit 08bed8c into 0xPlaygrounds:main Feb 12, 2025
5 checks passed
This was referenced Feb 12, 2025
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
3 participants