mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-10 11:53:48 +00:00
Normalize model IDs before matching capabilities
This commit is contained in:
10 files changed
+92
-19
No files matched your search
@@ -6,7 +6,7 @@ public static partial class ProviderExtensions
|
||||
{
|
||||
private static List<Capability> GetModelCapabilitiesAlibaba(Model model)
|
||||
{
|
||||
var modelName = model.Id.ToLowerInvariant().AsSpan();
|
||||
var modelName = NormalizeModelId(model.Id).AsSpan();
|
||||
|
||||
// Qwen models:
|
||||
if (modelName.StartsWith("qwen"))
|
||||
|
||||
Reference in new issue
Block a user