From 61554420396ebad5d375f20b717edd80a2a35b42 Mon Sep 17 00:00:00 2001 From: Sabrina-devops Date: Thu, 2 Apr 2026 14:39:31 +0200 Subject: [PATCH] Added support for newer OpenAI models (#720) --- .../Settings/ProviderExtensions.OpenAI.cs | 23 +++++++++++++++++++ .../wwwroot/changelog/v26.3.1.md | 1 + 2 files changed, 24 insertions(+) diff --git a/app/MindWork AI Studio/Settings/ProviderExtensions.OpenAI.cs b/app/MindWork AI Studio/Settings/ProviderExtensions.OpenAI.cs index a65c1534..b7dc39ef 100644 --- a/app/MindWork AI Studio/Settings/ProviderExtensions.OpenAI.cs +++ b/app/MindWork AI Studio/Settings/ProviderExtensions.OpenAI.cs @@ -154,6 +154,28 @@ public static partial class ProviderExtensions Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API, ]; + if(modelName is "gpt-5.3" || modelName.StartsWith("gpt-5.3-")) + return + [ + Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT, + Capability.TEXT_OUTPUT, + + Capability.FUNCTION_CALLING, Capability.OPTIONAL_REASONING, + Capability.WEB_SEARCH, + Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API, + ]; + + if(modelName is "gpt-5.4" || modelName.StartsWith("gpt-5.4-")) + return + [ + Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT, + Capability.TEXT_OUTPUT, + + Capability.FUNCTION_CALLING, Capability.OPTIONAL_REASONING, + Capability.WEB_SEARCH, + Capability.RESPONSES_API, Capability.CHAT_COMPLETION_API, + ]; + return [ Capability.TEXT_INPUT, Capability.MULTIPLE_IMAGE_INPUT, @@ -161,6 +183,7 @@ public static partial class ProviderExtensions Capability.FUNCTION_CALLING, Capability.RESPONSES_API, + Capability.WEB_SEARCH, ]; } } \ No newline at end of file diff --git a/app/MindWork AI Studio/wwwroot/changelog/v26.3.1.md b/app/MindWork AI Studio/wwwroot/changelog/v26.3.1.md index aeb95810..f4d5274d 100644 --- a/app/MindWork AI Studio/wwwroot/changelog/v26.3.1.md +++ b/app/MindWork AI Studio/wwwroot/changelog/v26.3.1.md @@ -6,6 +6,7 @@ - Added the ability to load a system prompt from a file when creating or editing chat templates. - Added a start-page setting, so AI Studio can now open directly on your preferred page when the app starts. Configuration plugins can also provide and optionally lock this default for organizations. - Added math rendering in chats for LaTeX display formulas, including block formats such as `$$ ... $$` and `\[ ... \]`. +- Added the latest OpenAI models. - Released the document analysis assistant after an intense testing phase. - Improved enterprise deployment for organizations: administrators can now provide up to 10 centrally managed enterprise configuration slots, use policy files on Linux and macOS, and continue using older configuration formats as a fallback during migration. - Improved the profile selection for assistants and the chat. You can now explicitly choose between the app default profile, no profile, or a specific profile.