Fixed model capabilities and how model names are matched (#958)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-09-11 15:24:02 +02:00
1 parent e64c51bd57
commit 2834529753
16 files changed
+1164 -155

No files matched your search

@@ -48,6 +48,16 @@ public enum ProviderRequestFailureReason
/// </summary>
CONTEXT_LENGTH_EXCEEDED,
/// <summary>
/// The request offered the model some tools, and the model cannot use them.
/// </summary>
/// <remarks>
/// AI Studio assumes that a model it has never heard of is able to call tools. Most of them
/// are, and new ones keep appearing faster than any list can follow. The few which are not
/// say so when they are asked, and this is that answer.
/// </remarks>
TOOLS_NOT_SUPPORTED,
/// <summary>
/// The provider cannot create embeddings at all.
/// </summary>