-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add o3 + o4 mini #4555
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 + o4 mini #4555
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit
"gpt-4": "GPT 4", | ||
"gpt-4o": "GPT 4o", | ||
"o4-mini": "o4 Mini", | ||
o3: "o3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should have quotes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This PR updates the litellm package and adds new OpenAI models (o3 and o4-mini) across backend and frontend configurations.
- Updated litellm from 1.66.1 to 1.66.3 in
/backend/requirements/default.txt
and/backend/requirements/model_server.txt
- Added new models 'o4-mini' and 'o3' to
OPEN_AI_MODEL_NAMES
in/backend/onyx/llm/llm_provider_options.py
- Testing details are missing in PR description despite critical litellm dependency changes
- Consider requiring backport decision to be explicitly documented in PR template
4 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile
OPEN_AI_MODEL_NAMES = [ | ||
"o4-mini", | ||
"o3-mini", | ||
"o1-mini", | ||
"o3", | ||
"o1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Model ordering is inconsistent - 'o4-mini' is placed before 'o3-mini' and 'o3', breaking the apparent pattern of grouping related models together
Description
Fixes https://linear.app/danswer/issue/DAN-1839/add-models-o3-o4-mini
How Has This Been Tested?
[Describe the tests you ran to verify your changes]
Backporting (check the box to trigger backport action)
Note: You have to check that the action passes, otherwise resolve the conflicts manually and tag the patches.