feat: update LOCALAGI_LLM_API_URL to Ollama-compatible endpoint and enhance documentation

This commit is contained in:
John Doe
2026-03-04 00:42:39 -05:00
parent d49a8d04cd
commit 7ec67de15c
3 changed files with 12 additions and 2 deletions

View File

@@ -41,7 +41,11 @@
"type": "info"
},
{
"text": "By default, LocalAGI is configured to call an external OpenAI-compatible backend at `http://127.0.0.1:8081` via `LOCALAGI_LLM_API_URL`.",
"text": "By default, LocalAGI is configured to call an OpenAI-compatible backend at `http://127.0.0.1:11434/v1` (Ollama-compatible) via `LOCALAGI_LLM_API_URL`.",
"type": "info"
},
{
"text": "To use an external Ollama host, edit `/opt/localagi/.env` and set `LOCALAGI_LLM_API_URL=http://<ollama-host>:11434/v1`, then restart LocalAGI with `systemctl restart localagi`.",
"type": "info"
}
]