feat: add llmman as a local model provider - #54
Open
ericcurtin wants to merge 1 commit into
Open
Conversation
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.
mrdjohnson
approved these changes
Sep 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds llmman, a local model runner that serves the Ollama API on port 17434.
LlmmanConnectionViewModelsubclassesOllamaConnectionViewModel, overriding only name, labels and default host (http://localhost:17434) — same pattern asLmsConnectionViewModeloverOpenAiConnectionViewModel.OllamaApi,OllamaStoreandOllamaModelPanelare reused as-is.'Llmman'connection type registered in the zod schema, view model / label / api maps,ModelPanel,HelpPanel(newLlmmanHelpMarkdown) and theOllamaModelSettingstype guard.OllamaConnectionViewModel.typewidened to'Ollama' | 'Llmman'and its labels typed asstringso the subclass can override them.*:17434host permissions; README lists llmman alongside Ollama.setServerResponseForModelstreat'Llmman'like'Ollama', plus one new test asserting the default host and/api/tagsmodel fetch.Testing:
tsc --noEmit(1 pre-existing unrelated error),eslint,prettier --check,vitest run(72 tests pass, 1 new).