From 6a4c92334f5884ee152090603d30ddbd1d67883c Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sun, 28 Apr 2024 01:29:48 +0100 Subject: [PATCH] llm: fixed webui ollama uri --- hosts/architect/llm.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/architect/llm.nix b/hosts/architect/llm.nix index 03d69a1..dd7f608 100644 --- a/hosts/architect/llm.nix +++ b/hosts/architect/llm.nix @@ -10,7 +10,7 @@ let in { environment = { - systemPackages = [ ollamaPkg ]; + systemPackages = [ ollamaPkg pkgs.aichat ]; variables = { OLLAMA_ORIGINS = "*"; }; @@ -65,7 +65,7 @@ in ]; environment = { - OLLAMA_API_BASE_URL = "https://${backendDomain}/api"; + OLLAMA_BASE_URL = "https://${backendDomain}"; }; extraOptions = [