Compare commits

..

2 Commits

Author SHA1 Message Date
Giulio De Pasquale
5c7e9b67b5 helix: add aichat to env 2024-04-28 01:29:55 +01:00
Giulio De Pasquale
6a4c92334f llm: fixed webui ollama uri 2024-04-28 01:29:48 +01:00
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@ let
in in
{ {
environment = { environment = {
systemPackages = [ ollamaPkg ]; systemPackages = [ ollamaPkg pkgs.aichat ];
variables = { variables = {
OLLAMA_ORIGINS = "*"; OLLAMA_ORIGINS = "*";
}; };
@ -65,7 +65,7 @@ in
]; ];
environment = { environment = {
OLLAMA_API_BASE_URL = "https://${backendDomain}/api"; OLLAMA_BASE_URL = "https://${backendDomain}";
}; };
extraOptions = [ extraOptions = [

View File

@ -55,6 +55,7 @@ in
shellcheck shellcheck
shfmt shfmt
gopls gopls
aichat
# ] ++ pythonPkgs ++ nodePkgs; # ] ++ pythonPkgs ++ nodePkgs;
] ++ nodePkgs; ] ++ nodePkgs;
sessionVariables = { sessionVariables = {