zeroclaw, add environment variable.
This commit is contained in:
@@ -68,6 +68,7 @@
|
|||||||
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
|
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
|
||||||
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
|
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
|
||||||
- "echo 'exec 2>&1' >> {{ ollama_runit_start }}"
|
- "echo 'exec 2>&1' >> {{ ollama_runit_start }}"
|
||||||
|
- "echo 'export OLLAMA_MAX_LOADED_MODELS=1' >> {{ ollama_runit_start }}"
|
||||||
- "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}"
|
- "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}"
|
||||||
- "chmod +x {{ ollama_runit_start }}"
|
- "chmod +x {{ ollama_runit_start }}"
|
||||||
register: shell_check
|
register: shell_check
|
||||||
|
|||||||
Reference in New Issue
Block a user