Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(openai): support all
o
series models (#1031)
Before this change, since `max_completion_tokens` was not set for `o` series models, the completion request will time out sometimes. This makes sure it converts the `max_tokens` parameter to `max_completion_tokens` for `o` series models. I tested this change with `gpt-4o-mini`, `o1-mini` and `o3-mini`, and they all still work as expected.
- Loading branch information
ec5d1ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@larrylv you wrote:
I tested this change with
gpt-4o-mini
,o1-mini
ando3-mini
, and they all still work as expected.Does this mean that
o3-mini
is now available in GitHub Copilot Chat? Which are the models you currently have access to, if I may ask?ec5d1ab
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pidgeon777 it's an internal model that we have access to (I work at OpenAI). still not released to public yet.