mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-16 02:53:48 +00:00
Add model capabilities (#450)
This commit is contained in:
1 parent
07b858fd72
commit
d6af5a3afd
18 files changed
+587
-5
No files matched your search
@@ -107,6 +107,8 @@ public sealed class ProviderGWDG(ILogger logger) : BaseProvider("https://chat-ai
|
||||
var models = await this.LoadModels(token, apiKeyProvisional);
|
||||
return models.Where(model => model.Id.StartsWith("e5-", StringComparison.InvariantCultureIgnoreCase));
|
||||
}
|
||||
|
||||
public override IReadOnlyCollection<Capability> GetModelCapabilities(Model model) => CapabilitiesOpenSource.GetCapabilities(model);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in new issue
Block a user