mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-21 15:52:16 +00:00
Modify the capability of the Mistral models
This commit is contained in:
parent
5fe4063773
commit
a3c69f1357
@ -24,7 +24,17 @@ public static partial class ProviderExtensions
|
|||||||
return
|
return
|
||||||
[
|
[
|
||||||
Capability.TEXT_INPUT,
|
Capability.TEXT_INPUT,
|
||||||
Capability.SINGLE_IMAGE_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
|
Capability.FUNCTION_CALLING,
|
||||||
|
Capability.CHAT_COMPLETION_API,
|
||||||
|
];
|
||||||
|
|
||||||
|
if (modelName.IndexOf("mistral-large-latest") is not -1) // The latest mistral-Large-3 model
|
||||||
|
return
|
||||||
|
[
|
||||||
|
Capability.TEXT_INPUT,
|
||||||
|
Capability.MULTIPLE_IMAGE_INPUT,
|
||||||
Capability.TEXT_OUTPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
Capability.OPTIONAL_REASONING,
|
Capability.OPTIONAL_REASONING,
|
||||||
@ -38,7 +48,19 @@ public static partial class ProviderExtensions
|
|||||||
return
|
return
|
||||||
[
|
[
|
||||||
Capability.TEXT_INPUT,
|
Capability.TEXT_INPUT,
|
||||||
Capability.SINGLE_IMAGE_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
|
Capability.OPTIONAL_REASONING,
|
||||||
|
|
||||||
|
Capability.FUNCTION_CALLING,
|
||||||
|
Capability.CHAT_COMPLETION_API,
|
||||||
|
];
|
||||||
|
|
||||||
|
if (modelName.IndexOf("mistral-medium-latest") is not -1) // The latest mistral-medium-3.1 model
|
||||||
|
return
|
||||||
|
[
|
||||||
|
Capability.TEXT_INPUT,
|
||||||
|
Capability.MULTIPLE_IMAGE_INPUT,
|
||||||
Capability.TEXT_OUTPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
Capability.OPTIONAL_REASONING,
|
Capability.OPTIONAL_REASONING,
|
||||||
@ -52,7 +74,19 @@ public static partial class ProviderExtensions
|
|||||||
return
|
return
|
||||||
[
|
[
|
||||||
Capability.TEXT_INPUT,
|
Capability.TEXT_INPUT,
|
||||||
Capability.SINGLE_IMAGE_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
|
Capability.OPTIONAL_REASONING,
|
||||||
|
|
||||||
|
Capability.FUNCTION_CALLING,
|
||||||
|
Capability.CHAT_COMPLETION_API,
|
||||||
|
];
|
||||||
|
|
||||||
|
if (modelName.IndexOf("mistral-small-latest") is not -1) // The latest mistral-medium-3.1 model
|
||||||
|
return
|
||||||
|
[
|
||||||
|
Capability.TEXT_INPUT,
|
||||||
|
Capability.MULTIPLE_IMAGE_INPUT,
|
||||||
Capability.TEXT_OUTPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
Capability.OPTIONAL_REASONING,
|
Capability.OPTIONAL_REASONING,
|
||||||
|
|||||||
@ -151,7 +151,7 @@ public static partial class ProviderExtensions
|
|||||||
return
|
return
|
||||||
[
|
[
|
||||||
Capability.TEXT_INPUT,
|
Capability.TEXT_INPUT,
|
||||||
Capability.SINGLE_IMAGE_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
|
Capability.MULTIPLE_IMAGE_INPUT,
|
||||||
Capability.TEXT_OUTPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
Capability.OPTIONAL_REASONING,
|
Capability.OPTIONAL_REASONING,
|
||||||
@ -164,7 +164,7 @@ public static partial class ProviderExtensions
|
|||||||
return
|
return
|
||||||
[
|
[
|
||||||
Capability.TEXT_INPUT,
|
Capability.TEXT_INPUT,
|
||||||
Capability.SINGLE_IMAGE_INPUT, Capability.MULTIPLE_IMAGE_INPUT,
|
Capability.MULTIPLE_IMAGE_INPUT,
|
||||||
Capability.TEXT_OUTPUT,
|
Capability.TEXT_OUTPUT,
|
||||||
|
|
||||||
Capability.OPTIONAL_REASONING,
|
Capability.OPTIONAL_REASONING,
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
- Added the ability to load a system prompt from a file when creating or editing chat templates.
|
- 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 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 math rendering in chats for LaTeX display formulas, including block formats such as `$$ ... $$` and `\[ ... \]`.
|
||||||
|
- Added the latest Mistral models.
|
||||||
- Released the document analysis assistant after an intense testing phase.
|
- 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 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.
|
- 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.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user