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

Update requirements for o1 series reasoning models #1255

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

Conversation

henryperkins
Copy link

Add support for o1 series reasoning models from Azure OpenAI.

  • src/aiParams.ts

    • Add reasoning_effort parameter to ModelConfig interface.
    • Set streaming property to false for o1 series models in ModelConfig interface.
  • src/LLMProviders/chatModelManager.ts

    • Add logic to handle specific requirements for o1 series models, such as setting temperature to 1 and disabling streaming.
    • Add support for the new reasoning_effort parameter for o1 series models.
  • src/components/chat-components/ChatInput.tsx

    • Ensure that the streaming option is disabled when sending messages for o1 series models.
  • src/LLMProviders/promptManager.ts

    • Handle the absence of system messages for o1 series models.
    • Add method to get effective chat prompt for o1 series models.

Add support for o1 series reasoning models from Azure OpenAI.

* **src/aiParams.ts**
  - Add `reasoning_effort` parameter to `ModelConfig` interface.
  - Set `streaming` property to `false` for o1 series models in `ModelConfig` interface.

* **src/LLMProviders/chatModelManager.ts**
  - Add logic to handle specific requirements for o1 series models, such as setting temperature to 1 and disabling streaming.
  - Add support for the new `reasoning_effort` parameter for o1 series models.

* **src/components/chat-components/ChatInput.tsx**
  - Ensure that the `streaming` option is disabled when sending messages for o1 series models.

* **src/LLMProviders/promptManager.ts**
  - Handle the absence of system messages for o1 series models.
  - Add method to get effective chat prompt for o1 series models.
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