You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2025. It is now read-only.
FIX: switch off native tools on Anthropic Claude Opus (#659)
Native tools do not work well on Opus.
Chain of Thought prompting means it consumes enormous amounts of
tokens and has poor latency.
This commit introduce and XML stripper to remove various chain of
thought XML islands from anthropic prompts when tools are involved.
This mean Opus native tools is now functions (albeit slowly)
From local testing XML just works better now.
Also fixes enum support in Anthropic native tools
Copy file name to clipboardExpand all lines: config/locales/server.en.yml
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ en:
51
51
ai_openai_embeddings_url: "Custom URL used for the OpenAI embeddings API. (in the case of Azure it can be: https://COMPANY.openai.azure.com/openai/deployments/DEPLOYMENT/embeddings?api-version=2023-05-15)"
52
52
ai_openai_api_key: "API key for OpenAI API"
53
53
ai_anthropic_api_key: "API key for Anthropic API"
54
+
ai_anthropic_native_tool_call_models: "List of models that will use native tool calls vs legacy XML based tools."
54
55
ai_cohere_api_key: "API key for Cohere API"
55
56
ai_hugging_face_api_url: "Custom URL used for OpenSource LLM inference. Compatible with https://github.com/huggingface/text-generation-inference"
56
57
ai_hugging_face_api_key: API key for Hugging Face API
0 commit comments