mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 05:33:48 +00:00
Ask the registry about the models Anthropic lists
This commit is contained in:
3 files changed
+26
-3
No files matched your search
@@ -137,6 +137,11 @@ public sealed class ProviderOpenRouter() : BaseProvider(LLMProviders.OPEN_ROUTER
|
||||
/// Nothing is reported from here: this route answers with the embedding models alone, and what
|
||||
/// is reported replaces everything an instance said before. The windows of the chat models
|
||||
/// would go missing the moment somebody opens the embedding settings.
|
||||
///
|
||||
/// Nothing is filtered either, for the same reason. The route is the statement: OpenRouter
|
||||
/// serves these to embed with, which is more than a name can say. Asking the registry on top
|
||||
/// could only drop a model whose name we do not recognize -- and where the two disagree, the
|
||||
/// answer is a rule in Models/, not a model missing from this list.
|
||||
/// </remarks>
|
||||
/// <param name="apiKeyProvisional">An API key which is not stored yet.</param>
|
||||
/// <param name="token">The cancellation token to use.</param>
|
||||
@@ -156,4 +161,4 @@ public sealed class ProviderOpenRouter() : BaseProvider(LLMProviders.OPEN_ROUTER
|
||||
},
|
||||
token: token);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user