-
F.i. adpater: anthropic, model: claude-sonet-4 Even if model has capabilities for reasoning, that does not mean I need to use it every time. Currently it goes through reasoning phase even for simple tasks. End when combined with MCP extensions I get this error:
I've looked into https://github.com/olimorris/codecompanion.nvim/blob/6195175810c92d4644149de7b6b1c0758ac6d99c/lua/codecompanion/adapters/anthropic.lua |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I've raised this as an issue. I encountered it earlier today too. It's due to the refactor in f298bd9. Anthropic are very particular about how the message stack is structured. Edit: You'll need to explore the schema on the adapter to see how it's configured. This is covered in the docs. |
Beta Was this translation helpful? Give feedback.
-
Any update on this topic? |
Beta Was this translation helpful? Give feedback.
The bug seems to be resolved. In addition, it looks like extended thinking/reasoning (for anthropic specificly) can be disabled this way:
But, I haven't found any way that would make this setting easily togglable, and most generic AI clients seem to offer that.
I think it would be really great to have slash command or variable that would turn that on (and it should be off by default).