mirror of
https://github.com/macocianradu/setup.git
synced 2026-03-18 21:00:04 +00:00
added gpt to code companion
This commit is contained in:
@@ -15,12 +15,23 @@ require('codecompanion').setup({
|
||||
}
|
||||
})
|
||||
end,
|
||||
},
|
||||
acp = {
|
||||
codex = function()
|
||||
return require("codecompanion.adapters").extend("codex", {
|
||||
defaults = {
|
||||
auth_method = "chatgpt"
|
||||
},
|
||||
})
|
||||
end
|
||||
}
|
||||
},
|
||||
interactions = {
|
||||
chat = {
|
||||
adapter = "webui",
|
||||
model = "deepseek-coder:6.7b"
|
||||
adapter = "codex",
|
||||
model = "gpt-5"
|
||||
},
|
||||
}
|
||||
})
|
||||
|
||||
vim.keymap.set('n', '<leader>gpt', function(opts) require("codecompanion").chat(opts) end);
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "21c2a84ce368e99b18f52ab348c4c02c32c02fcf" },
|
||||
"mason.nvim": { "branch": "main", "commit": "44d1e90e1f66e077268191e3ee9d2ac97cc18e65" },
|
||||
"mini.icons": { "branch": "main", "commit": "68c178e0958d95b3977a771f3445429b1bded985" },
|
||||
"neogit": { "branch": "master", "commit": "df323856553d4c5e5c41117606c63f628b24a3b0" },
|
||||
"neogit": { "branch": "master", "commit": "22433eae87236c217e0810c836fa5e529c043d4c" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "da88697d7f45d16852c6b2769dc52387d1ddc45f" },
|
||||
"nvim-dap": { "branch": "master", "commit": "db321947bb289a2d4d76a32e76e4d2bd6103d7df" },
|
||||
"nvim-dap-python": { "branch": "master", "commit": "1808458eba2b18f178f990e01376941a42c7f93b" },
|
||||
|
||||
Reference in New Issue
Block a user