Added support for GPT 5.2 model

This commit is contained in:
Thorsten Sommer 2025-12-15 13:43:13 +01:00
parent 22c5d10e8a
commit 41ab9f09e6
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 12 additions and 0 deletions

View File

@ -143,6 +143,17 @@ public static partial class ProviderExtensions
Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API, Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API,
]; ];
if(modelName is "gpt-5.2" || modelName.StartsWith("gpt-5.2-"))
return
[
Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
Capability.TEXT_OUTPUT, Capability.IMAGE_OUTPUT,
Capability.FUNCTION_CALLING, Capability.OPTIONAL_REASONING,
Capability.WEB_SEARCH,
Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API,
];
return return
[ [
Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT, Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT,

View File

@ -1,5 +1,6 @@
# v0.9.55, build 230 (2025-12-xx xx:xx UTC) # v0.9.55, build 230 (2025-12-xx xx:xx UTC)
- Added support for newer Mistral models (Mistral 3, Voxtral, and Magistral). - Added support for newer Mistral models (Mistral 3, Voxtral, and Magistral).
- Added support for the new OpenAI model GPT 5.2.
- Added a description field to local data sources (preview feature) so that the data selection agent has more information about which data each local source contains when selecting data sources. - Added a description field to local data sources (preview feature) so that the data selection agent has more information about which data each local source contains when selecting data sources.
- Added the ability to use file attachments in chat. This is the initial implementation of this feature. We will continue to develop this feature and refine it further based on user feedback. Many thanks to Sabrina `Sabrina-devops` for this wonderful contribution. - Added the ability to use file attachments in chat. This is the initial implementation of this feature. We will continue to develop this feature and refine it further based on user feedback. Many thanks to Sabrina `Sabrina-devops` for this wonderful contribution.
- Improved the document analysis assistant (in preview) by adding descriptions to the different sections. - Improved the document analysis assistant (in preview) by adding descriptions to the different sections.