discourse-ai/config
Sam 8b81ff45b8
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
2024-06-07 10:52:01 -03:00
..
locales FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00
routes.rb FEATURE: Allow deleting custom LLMs. (#643) 2024-05-27 16:44:08 -03:00
settings.yml FIX: switch off native tools on Anthropic Claude Opus (#659) 2024-06-07 10:52:01 -03:00