feat(ai): add llmman as a local model provider - #13717
Open
ericcurtin wants to merge 1 commit into
Open
Conversation
llmman (https://github.com/llmmanorg/llmman) is a local model runner serving Ollama- and OpenAI-compatible routes on 127.0.0.1:17434. Register it in the agent provider catalog next to Ollama and extend every Ollama special case (no API key, verification skipped, OpenClaw placeholder key, manual initial model) to cover it as well.
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.
What this PR does / why we need it?
Adds llmman, a local model runner serving Ollama- and OpenAI-compatible routes on port 17434, as a selectable AI agent model provider next to Ollama.
Summary of your change
agent/app/provider/catalog.go: newllmmanentry (Sort 16) with the same API types as Ollama (openai-responses,openai-completions,openai-embeddings), base URL pre-filled withhttp://127.0.0.1:17434/v1and editable; added tolegacyModelPrefixes.verify.go,openclaw.go,agents_utils.go,terminal/ai/client.go,terminal/ai/config_runtime.go: each existing"ollama"special case now also covers"llmman"(no API key, verification skipped, OpenClaw placeholder key, manual initial model).frontend/src/utils/agent.ts,frontend/src/views/ai/agents/model/add/index.vue: same two lists on the frontend.DisplayNameare used.Testing:
go build/go vet/gofmt -lon the touched packages pass; frontendeslintandprettier --checkon the two touched files pass (type-checkerrors are pre-existing and unrelated). Not run against a live llmman server or OpenClaw deployment.Please indicate you've done the following: