Skip to content

Conversation

pablonyx
Copy link
Contributor

@pablonyx pablonyx commented Apr 17, 2025

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.

  • This PR should be backported (make sure to check that the backport attempt succeeds)
  • [Optional] Override Linear Check

Copy link

vercel bot commented Apr 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
internal-search ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 10:11pm

Copy link
Contributor

@evan-onyx evan-onyx left a 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",
Copy link
Contributor

Choose a reason for hiding this comment

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

should have quotes?

@pablonyx pablonyx marked this pull request as ready for review April 18, 2025 20:42
@pablonyx pablonyx requested a review from a team as a code owner April 18, 2025 20:42
@pablonyx pablonyx added this pull request to the merge queue Apr 18, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a 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

Comment on lines 43 to 48
OPEN_AI_MODEL_NAMES = [
"o4-mini",
"o3-mini",
"o1-mini",
"o3",
"o1",
Copy link
Contributor

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

Merged via the queue into main with commit 356336a Apr 18, 2025
10 of 12 checks passed
@pablonyx pablonyx deleted the o3_o4mini branch April 18, 2025 21:42
aronszanto pushed a commit to aronszanto/onyx that referenced this pull request Apr 26, 2025
AnkitTukatek pushed a commit to TukaTek/onyx that referenced this pull request Sep 23, 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.

2 participants