diff --git a/app/MindWork AI Studio/Provider/BaseProvider.cs b/app/MindWork AI Studio/Provider/BaseProvider.cs index d24ca38d..32c0e621 100644 --- a/app/MindWork AI Studio/Provider/BaseProvider.cs +++ b/app/MindWork AI Studio/Provider/BaseProvider.cs @@ -76,6 +76,9 @@ public abstract class BaseProvider : IProvider, ISecretId /// public abstract Task> GetEmbeddingModels(string? apiKeyProvisional = null, CancellationToken token = default); + + /// + public abstract IReadOnlyCollection GetModelCapabilities(Model model); #endregion diff --git a/app/MindWork AI Studio/Provider/IProvider.cs b/app/MindWork AI Studio/Provider/IProvider.cs index 2256dff5..86a60913 100644 --- a/app/MindWork AI Studio/Provider/IProvider.cs +++ b/app/MindWork AI Studio/Provider/IProvider.cs @@ -63,4 +63,11 @@ public interface IProvider /// The cancellation token. /// The list of embedding models. public Task> GetEmbeddingModels(string? apiKeyProvisional = null, CancellationToken token = default); + + /// + /// Get the capabilities of a model. + /// + /// The model to get the capabilities for. + /// The capabilities of the model. + public IReadOnlyCollection GetModelCapabilities(Model model); } \ No newline at end of file