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

feat: o3-mini #3583

Merged
merged 4 commits into from
Jan 31, 2025
Merged

feat: o3-mini #3583

merged 4 commits into from
Jan 31, 2025

Conversation

StanGirard
Copy link
Collaborator

@StanGirard StanGirard commented Jan 31, 2025

Modify temperature setting logic in LLMEndpoint to correctly handle OpenAI models:

  • Change condition to set temperature to None for models starting with 'o'
  • Ensure proper temperature configuration for different model types

Fixes ENT-565

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

Checklist before requesting a review

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented hard-to-understand areas
  • I have ideally added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged

Screenshots (if appropriate):

- Updated pyproject.toml to upgrade langchain-openai and langchain dependencies
- Modified LLMEndpoint to adjust temperature for specific models
- Added new OpenAI model configurations in LLMModelConfig:
  - o3-mini
  - o1-mini
  - o1-preview
  - o1
Update core requirements lock files with newer versions of:
- langchain-core (0.3.21 → 0.3.33)
- langchain-openai (0.2.11 → 0.3.3)
- openai (1.56.2 → 1.61.0)
Modify temperature setting logic in LLMEndpoint to correctly handle OpenAI models:
- Change condition to set temperature to None for models starting with 'o'
- Ensure proper temperature configuration for different model types
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 31, 2025
Copy link

linear bot commented Jan 31, 2025

@QuivrHQ QuivrHQ deleted a comment from linear bot Jan 31, 2025
@StanGirard StanGirard merged commit a639e0c into main Jan 31, 2025
7 of 8 checks passed
@StanGirard StanGirard deleted the feat/o3-mini branch January 31, 2025 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant