Skip to content

Configure the Ollama server on the Settings page - #42

Merged
meddlin merged 1 commit into
mainfrom
claude/ollama-server-config-25d495
Nov 2, 2026
Merged

meddlin merged 1 commit into
mainfrom
claude/ollama-server-config-25d495

Conversation

@meddlin

@meddlin meddlin commented Nov 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • New Ollama section in Settings: choose Local models (127.0.0.1:11434) or an Ollama server at a typed address.
  • Saved server-side in `ollama-connection.json` in the app home and applied at once (chat panel and Dependabot notes), no restart.
  • Precedence: `GITLIB_OLLAMA_HOST` > saved choice > `config.toml`. When the env var is set the section is locked.
  • Addresses are normalized and validated; status line shows reachability and model count.

Test plan

  • `npm run typecheck`
  • `npx vitest run` (513 pass, incl. new save/restart/validation/env-lock tests)
  • Confirmed a real server answers `/api/tags`
  • Manually exercise the Settings UI in a browser

🤖 Generated with Claude Code

Adds an Ollama section to the Settings page. The choice is saved in the app
home (ollama-connection.json) and applied immediately to the chat backend.
GITLIB_OLLAMA_HOST still takes precedence and locks the section.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@meddlin
meddlin merged commit f1c4d20 into main Nov 2, 2026
1 check passed
@meddlin
meddlin deleted the claude/ollama-server-config-25d495 branch November 2, 2026 22:49
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.

1 participant