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: Add OpenAI reasoning support and new model configs #1818

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

IGLOU-EU
Copy link

@IGLOU-EU IGLOU-EU commented Feb 1, 2025

Description

This PR adds support for OpenAI's reasoning API feature.

  1. Reasoning Integration

    • Added support for reasoning_effort parameter in API calls
    • Created new UI component ReasoningEffortSelect for controlling reasoning effort level
    • Updated model configs to include latest o1 and o3-mini models with 200k context windows
  2. UI/UX Improvements

    • Dynamic UI controls that adapt based on model selection:
      • Show reasoning controls for 'o' OpenAI models (excluding o1-preview and o1-mini)
      • Show temperature/top_p controls for other models

Screenshots

Screenshot_20250202_004726

Contributor Agreement

By submitting this Pull Request, I confirm that I have read and agree to the following terms:

  • I agree to contribute all code submitted in this PR to the open-source community edition licensed under GPLv3 and the proprietary official edition without compensation.
  • I grant the official edition development team the rights to freely use, modify, and distribute this code, including for commercial purposes.
  • I confirm that this code is my original work, or I have obtained the appropriate authorization from the copyright holder to submit this code under these terms.
  • I understand that the submitted code will be publicly released under the GPLv3 license, and may also be used in the proprietary official edition.

Please check the box below to confirm:

[x] I have read and agree with the above statement.

@IGLOU-EU IGLOU-EU force-pushed the main branch 2 times, most recently from 1c23a5b to 61d1113 Compare February 1, 2025 23:57
ahnafaf added a commit to ahnafaf/chatbox that referenced this pull request Feb 2, 2025
Implemented support for custom functions in the OpenAI O3 model settings. This feature extends the work done in PR Bin-Huang#1818, adding UI components for adding and editing functions, as well as integrating with API calls.
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.

1 participant