chore: add OpenAI gpt-4o-mini and o1 models #4311
Merged
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.
Describe Your Changes
OpenAI o1 - max outputs: 16384
OpenAI 4o-mini - max outputs: 100000
Fixes Issues
Changes made
The code changes in the
models.json
file involve the addition of two new models:OpenAI GPT 4o-mini:
https://openai.com
gpt-4o-mini
model
OpenAI GPT 4o-mini
1.1
api
{"vision_model": true}
{"max_tokens": 16384, "temperature": 0.7, "top_p": 0.95, "stream": true, "stop": [], "frequency_penalty": 0, "presence_penalty": 0}
{"author": "OpenAI", "tags": ["General"]}
openai
OpenAI o1:
https://openai.com
o1
model
OpenAI o1
1.0
api
{}
{"max_tokens": 100000, "temperature": 1, "top_p": 1, "stream": true, "frequency_penalty": 0, "presence_penalty": 0}
{"author": "OpenAI", "tags": ["General"]}
openai