mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-05-13 10:34:23 +00:00
Fixed Mistral small models
This commit is contained in:
parent
7aec92b5ae
commit
7f451c62d4
@ -172,7 +172,7 @@ public static partial class ProviderExtensions
|
||||
Capability.CHAT_COMPLETION_API,
|
||||
];
|
||||
|
||||
if (modelName.IndexOf("mistral-small-") is not -1)
|
||||
if (modelName.IndexOf("mistral-small-4") is not -1)
|
||||
return
|
||||
[
|
||||
Capability.TEXT_INPUT,
|
||||
@ -185,6 +185,29 @@ public static partial class ProviderExtensions
|
||||
Capability.CHAT_COMPLETION_API,
|
||||
];
|
||||
|
||||
if (modelName.IndexOf("mistral-small-3") is not -1 ||
|
||||
modelName.IndexOf("mistral-small-4") is not -1)
|
||||
return
|
||||
[
|
||||
Capability.TEXT_INPUT,
|
||||
Capability.MULTIPLE_IMAGE_INPUT,
|
||||
Capability.TEXT_OUTPUT,
|
||||
|
||||
Capability.OPTIONAL_REASONING,
|
||||
|
||||
Capability.FUNCTION_CALLING,
|
||||
Capability.CHAT_COMPLETION_API,
|
||||
];
|
||||
|
||||
if (modelName.IndexOf("mistral-small-") is not -1)
|
||||
return
|
||||
[
|
||||
Capability.TEXT_INPUT,
|
||||
Capability.TEXT_OUTPUT,
|
||||
|
||||
Capability.FUNCTION_CALLING,
|
||||
Capability.CHAT_COMPLETION_API,
|
||||
];
|
||||
|
||||
if (modelName.IndexOf("voxtral-") is not -1)
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user