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:
parent
f77a33e873
commit
6394d43f25
2 changed files with 3 additions and 3 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
|
|
@ -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', {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue