Skip to content

Commit

Permalink
📝 Updates ollama recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
jefftriplett committed Jul 25, 2024
1 parent 8f6288f commit 27ee722
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion home/.justfiles/ollama.just
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ export OLLAMA_ORIGINS := "http://*"
@ollama-list:
ollama list

@ollama-getenv:
launchctl getenv OLLAMA_HOST
launchctl getenv OLLAMA_ORIGINS

@ollama-serve *ARGS:
tandem 'ollama serve {{ ARGS }}'

@ollama-setenv:
launchctl setenv OLLAMA_HOST "0.0.0.0"
launchctl setenv OLLAMA_HOST {{ OLLAMA_HOST }}
launchctl setenv OLLAMA_ORIGINS {{ OLLAMA_ORIGINS }}

0 comments on commit 27ee722

Please sign in to comment.