Skip to content

fix(ollama): hide API key for self-hosted, add docker host hint#4293

Open
andreahlert wants to merge 1 commit intoarchestra-ai:mainfrom
andreahlert:fix/issue-4286-ollama
Open

fix(ollama): hide API key for self-hosted, add docker host hint#4293
andreahlert wants to merge 1 commit intoarchestra-ai:mainfrom
andreahlert:fix/issue-4286-ollama

Conversation

@andreahlert
Copy link
Copy Markdown
Contributor

@andreahlert andreahlert commented May 2, 2026

Hide the API key input by default for Ollama and vLLM and gate it behind a "Server requires authentication" toggle, so users no longer feel pushed to type a dummy key.

image

Detect when the backend runs in a container (auto via /.dockerenv, /proc/1/cgroup, KUBERNETES_SERVICE_HOST, plus an ARCHESTRA_RUNNING_IN_CONTAINER override) and surface an inline alert with a one-click swap to http://host.docker.internal:11434/ when the user points Ollama at localhost from inside Docker.

The model fetcher rethrows connect errors with the same hint so non-UI consumers see it too.

Closes #4286.

Signed-off-by: André Ahlert <andre@aex.partners>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ollama doesn't work without API key

1 participant