File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 55 "cmp-nvim-lsp" : { "branch" : " main" , "commit" : " 39e2eda76828d88b773cc27a3f61d2ad782c922d" },
66 "cmp-path" : { "branch" : " main" , "commit" : " 91ff86cd9c29299a64f968ebb45846c485725f23" },
77 "cmp_luasnip" : { "branch" : " master" , "commit" : " 05a9ab28b53f71d1aece421ef32fee2cb857a843" },
8- "codecompanion.nvim" : { "branch" : " main" , "commit" : " 4f56b047f03bf5edc0d71bf0ca694243a49b912f " },
8+ "codecompanion.nvim" : { "branch" : " main" , "commit" : " 7ffbc5a8f7ba349cea0c3f20bac6c404d4130a4a " },
99 "conform.nvim" : { "branch" : " master" , "commit" : " 1a99fdc1d3aa9ccdf3021e67982a679a8c5c740c" },
1010 "copilot.lua" : { "branch" : " master" , "commit" : " 1a237cf50372830a61d92b0adf00d3b23882e0e1" },
1111 "dressing.nvim" : { "branch" : " master" , "commit" : " fc78a3ca96f4db9f8893bb7e2fd9823e0780451b" },
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ return {
1313 config = function ()
1414 require (' codecompanion' ).setup {
1515 adapters = {
16+ opts = {
17+ show_defaults = false ,
18+ },
1619 anthropic = require (' codecompanion.adapters' ).extend (' anthropic' , {
1720 env = {
1821 api_key = ' CODECOMP_ANTHROPIC_API_KEY' ,
@@ -23,10 +26,15 @@ return {
2326 api_key = ' CODECOMP_DEEPSEEK_API_KEY' ,
2427 },
2528 }),
29+ gemini = require (' codecompanion.adapters' ).extend (' gemini' , {
30+ env = {
31+ api_key = ' CODECOMP_GEMINI_API_KEY' ,
32+ },
33+ }),
2634 },
2735 strategies = {
2836 chat = {
29- adapter = ' anthropic ' ,
37+ adapter = ' gemini ' ,
3038 slash_commands = {
3139 [' file' ] = {
3240 -- Location to the slash command in CodeCompanion
@@ -40,7 +48,7 @@ return {
4048 },
4149 },
4250 inline = {
43- adapter = ' anthropic ' ,
51+ adapter = ' gemini ' ,
4452 },
4553 },
4654 }
You can’t perform that action at this time.
0 commit comments