mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-07 19:44:58 +02:00
update
This commit is contained in:
parent
9210aa07ed
commit
38f8d88f65
2 changed files with 11 additions and 3 deletions
|
@ -13,6 +13,9 @@ return {
|
|||
config = function()
|
||||
require('codecompanion').setup {
|
||||
adapters = {
|
||||
opts = {
|
||||
show_defaults = false,
|
||||
},
|
||||
anthropic = require('codecompanion.adapters').extend('anthropic', {
|
||||
env = {
|
||||
api_key = 'CODECOMP_ANTHROPIC_API_KEY',
|
||||
|
@ -23,10 +26,15 @@ return {
|
|||
api_key = 'CODECOMP_DEEPSEEK_API_KEY',
|
||||
},
|
||||
}),
|
||||
gemini = require('codecompanion.adapters').extend('gemini', {
|
||||
env = {
|
||||
api_key = 'CODECOMP_GEMINI_API_KEY',
|
||||
},
|
||||
}),
|
||||
},
|
||||
strategies = {
|
||||
chat = {
|
||||
adapter = 'anthropic',
|
||||
adapter = 'gemini',
|
||||
slash_commands = {
|
||||
['file'] = {
|
||||
-- Location to the slash command in CodeCompanion
|
||||
|
@ -40,7 +48,7 @@ return {
|
|||
},
|
||||
},
|
||||
inline = {
|
||||
adapter = 'anthropic',
|
||||
adapter = 'gemini',
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue