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

Add o3-mini support & expose "temperature" #38

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

Conversation

redox
Copy link

@redox redox commented Mar 17, 2025

The code was mentioning o3-mini but somehow this model wasn't part of the models.json configuration file.

I assume it could because it doesn't support the temperature parameter, so things had to get slightly adjusted.

The code was mentioning `o3-mini` but somehow this model wasn't part of
the `models.json` configuration file.

I assume it could because it doesn't support the `temperature`
parameter, so things had to get slightly adjusted.
model_id = model || RubyLLM.config.default_model
self.model = model_id
@temperature = @model.metadata['family'] == 'o1' ? 1 : 0.7
Copy link
Author

Choose a reason for hiding this comment

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

I don't think this was ever working, the family is one level above the metadata.

"object": "model",
"owned_by": "system"
}
},
Copy link
Author

Choose a reason for hiding this comment

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

I added this manually, we would need to update lib/tasks/models.rake but I don't have all credentials to do so

@crmne crmne added the enhancement New feature or request label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants