1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

plugins/codecompanion: adapt options

This commit is contained in:
Gaetan Lepage 2025-08-31 01:19:41 +02:00 committed by Matt Sturgeon
parent f77a33e873
commit 6394d43f25
2 changed files with 3 additions and 3 deletions

View file

@ -231,7 +231,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
settingsExample = { settingsExample = {
adapters = { adapters = {
ollama.__raw = '' http.ollama.__raw = ''
function() function()
return require('codecompanion.adapters').extend('ollama', { return require('codecompanion.adapters').extend('ollama', {
env = { env = {

View file

@ -8,7 +8,7 @@
enable = true; enable = true;
settings = { settings = {
adapters = { adapters.http = {
anthropic = "anthropic"; anthropic = "anthropic";
azure_openai = "azure_openai"; azure_openai = "azure_openai";
copilot = "copilot"; copilot = "copilot";
@ -948,7 +948,7 @@
enable = true; enable = true;
settings = { settings = {
adapters = { adapters.http = {
ollama.__raw = '' ollama.__raw = ''
function() function()
return require('codecompanion.adapters').extend('ollama', { return require('codecompanion.adapters').extend('ollama', {