fix: use OLLAMA_URL to activate Ollama provider in starter

This commit is contained in:
Ashwin Bharambe 2025-07-30 09:52:19 -07:00
parent b69bafba30
commit c1151e8d81
6 changed files with 23 additions and 41 deletions

View file

@ -150,7 +150,7 @@
"def run_llama_stack_server_background():\n",
" log_file = open(\"llama_stack_server.log\", \"w\")\n",
" process = subprocess.Popen(\n",
" f\"uv run --with llama-stack llama stack run starter --image-type venv --env INFERENCE_MODEL=llama3.2:3b\",\n",
" f\"OLLAMA_URL=http://localhost:11434 uv run --with llama-stack llama stack run starter --image-type venv",
" shell=True,\n",
" stdout=log_file,\n",
" stderr=log_file,\n",