Replies: 2 comments 5 replies
-
|
It will be dependent on the adapter. I can't recall what we set for Anthropic...possibly extended_thinking that could be turned off. I'd refer to their docs and cross match to the adapter and see if anything has been missed. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This worked for me require("codecompanion").setup({
adapters = {
anthropic = function()
return require("codecompanion.adapters").extend("anthropic", {
schema = {
extended_thinking = {
default = false,
},
},
})
end,
},
})
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find this on documentation. Is it provider specific? For Anthropic, I tried having
schema = { thinking = nil }in extended options but it's not working.Beta Was this translation helpful? Give feedback.
All reactions