From d8efd81cbdfacef5a029b20171f9ce3814b97f96 Mon Sep 17 00:00:00 2001 From: osbm Date: Tue, 19 Aug 2025 14:51:47 +0300 Subject: [PATCH] set providers --- config/plugins/avante.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/plugins/avante.nix b/config/plugins/avante.nix index 76b93ec..50f5647 100644 --- a/config/plugins/avante.nix +++ b/config/plugins/avante.nix @@ -2,8 +2,9 @@ plugins.avante = { lazyLoad.settings.event = ["DeferredUIEnter"]; settings = { + # provider = "ollama"; # provider = "claude"; - # providers = { + providers = { # claude = { # endpoint = "https://api.anthropic.com"; # extra_request_body = { @@ -12,7 +13,11 @@ # }; # model = "claude-3-5-sonnet-20240620"; # }; - # }; + ollama = { + endpoint = "http://localhost:11434"; + model = "qwen2.5-coder:32b"; + }; + }; }; }; }