Skip to content

feat: add llmman as a local model provider - #54

Open
ericcurtin wants to merge 1 commit into
mrdjohnson:mainfrom
ericcurtin:llmman
Open

feat: add llmman as a local model provider#54
ericcurtin wants to merge 1 commit into
mrdjohnson:mainfrom
ericcurtin:llmman

Conversation

@ericcurtin

@ericcurtin ericcurtin commented Sep 4, 2026

Copy link
Copy Markdown

Adds llmman, a local model runner that serves the Ollama API on port 17434.

  • LlmmanConnectionViewModel subclasses OllamaConnectionViewModel, overriding only name, labels and default host (http://localhost:17434) — same pattern as LmsConnectionViewModel over OpenAiConnectionViewModel. OllamaApi, OllamaStore and OllamaModelPanel are reused as-is.
  • New 'Llmman' connection type registered in the zod schema, view model / label / api maps, ModelPanel, HelpPanel (new LlmmanHelpMarkdown) and the OllamaModelSettings type guard.
  • OllamaConnectionViewModel.type widened to 'Ollama' | 'Llmman' and its labels typed as string so the subclass can override them.
  • Chrome manifest gets *:17434 host permissions; README lists llmman alongside Ollama.
  • Tests: factory and setServerResponseForModels treat 'Llmman' like 'Ollama', plus one new test asserting the default host and /api/tags model fetch.

Testing: tsc --noEmit (1 pre-existing unrelated error), eslint, prettier --check, vitest run (72 tests pass, 1 new).

AI-assisted, reviewed before submitting.

llmman (https://github.com/llmmanorg/llmman) serves the Ollama API on
port 17434, so it reuses the existing Ollama integration wholesale.
LlmmanConnectionViewModel subclasses OllamaConnectionViewModel (as LMS
does OpenAi) and the new 'Llmman' type is registered in the schema, view
model/api maps, model and help panels, and test helpers. The chrome
manifest gains host permissions for port 17434 for auto-detection.
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.

2 participants