Skip to content

Commit

Permalink
fix: export OLLAMA_HOST in ollama-models
Browse files Browse the repository at this point in the history
  • Loading branch information
shivaraj-bh committed Mar 24, 2024
1 parent b8d139d commit 009377e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nix/ollama.nix
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ in
name = "${name}-models";
text = ''
set -x
OLLAMA_HOST=${config.host}:${toString config.port}
export OLLAMA_HOST
models="${lib.concatStringsSep " " config.models}"
for model in $models
do
Expand Down

0 comments on commit 009377e

Please sign in to comment.