feat: enable codecompanion agent mode with claude-4-sonnet
This commit is contained in:
parent
3a14881e94
commit
fb5546ca3e
1 changed files with 10 additions and 1 deletions
|
@ -1,9 +1,18 @@
|
|||
local codecompanion = require("codecompanion")
|
||||
|
||||
vim.g.codecompanion_auto_tool_mode = true
|
||||
|
||||
codecompanion.setup({
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = "copilot",
|
||||
tools = {
|
||||
opts = {
|
||||
auto_submit_errors = true,
|
||||
auto_submit_success = true,
|
||||
requires_approval = false,
|
||||
}
|
||||
}
|
||||
},
|
||||
inline = {
|
||||
adapter = "copilot",
|
||||
|
@ -17,7 +26,7 @@ codecompanion.setup({
|
|||
return require("codecompanion.adapters").extend("copilot", {
|
||||
schema = {
|
||||
model = {
|
||||
default = "claude-3.7-sonnet",
|
||||
default = "claude-sonnet-4",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue