copilot: Correct o3-mini context length (#24152)

It should be 200k (with 100k output). I can't find anything that puts it
at 20k and the changeover in
2f82374926
only changed the name from o1-mini to o3-mini

References:
*
https://docs.github.com/en/copilot/using-github-copilot/asking-github-copilot-questions-in-github#ai-models-for-copilot-chat
* https://github.com/marketplace/models/azure-openai/o3-mini
* https://platform.openai.com/docs/models#o3-mini

Release Notes:

- Corrected Github Copilot o3-mini context length

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>
This commit is contained in:
Jacob Chapel 2025-02-04 06:01:36 -08:00 committed by GitHub
parent cc2ebb96a6
commit 28536498c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -89,7 +89,7 @@ impl Model {
Self::Gpt4o => 64000, Self::Gpt4o => 64000,
Self::Gpt4 => 32768, Self::Gpt4 => 32768,
Self::Gpt3_5Turbo => 12288, Self::Gpt3_5Turbo => 12288,
Self::O3Mini => 20000, Self::O3Mini => 200_000,
Self::O1 => 20000, Self::O1 => 20000,
Self::Claude3_5Sonnet => 200_000, Self::Claude3_5Sonnet => 200_000,
} }