llm: fixed webui ollama uri

This commit is contained in:
Giulio De Pasquale 2024-04-28 01:29:48 +01:00
parent 97f38fd16e
commit 6a4c92334f

View File

@ -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 = [