Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for OpenAI’s new o3-mini model to Roo Code by updating its model configuration. The changes update the o3-mini entry to reflect the correct settings as per the latest OpenAI API documentation. Specifically, the configuration now sets:
maxTokensto 100,000,contextWindowto 200,000,supportsImagesto false (since o3-mini does not support vision),supportsPromptCacheremains false,No modifications were needed in the handler’s logic because the existing routing and streaming code already correctly supports models outside of the o1 series.
Type of change
How Has This Been Tested?
openai-native.test.tso3-miniChecklist:
Additional context
The primary change is within the shared model configuration file where the o3-mini entry is updated. The handler logic remains unchanged because o3-mini falls under the default branch (streaming with system prompt) and is correctly managed by the existing implementation. This update ensures consistency with the latest OpenAI pricing and feature specifications.
Related Issues
Reviewers
@team-member1 @team-member2
Important
Add support for OpenAI's o3-mini model with updated configuration and test case.
o3-minimodel inopenAiNativeModelsinapi.tswithmaxTokens100,000,contextWindow200,000,supportsImagesfalse,supportsPromptCachefalse,inputPrice$1.10,outputPrice$4.40.openai-native.test.tsto verifycompletePromptwitho3-minimodel.This description was created by
for 58fdb6f. It will automatically update as commits are pushed.