mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-12 22:33:48 +00:00
Explain failures caused by models without tool support
This commit is contained in:
5 files changed
+91
-2
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>
|
||||
|
||||
Reference in new issue
Block a user