Skip to content

Add llmman as a local model provider - #2310

Open
ericcurtin wants to merge 1 commit into
SciPhi-AI:mainfrom
ericcurtin:llmman
Open

Add llmman as a local model provider#2310
ericcurtin wants to merge 1 commit into
SciPhi-AI: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, OpenAI and Anthropic APIs on port 17434.

  • py/core/providers/llm/openai.py: llmman/ model prefix backed by an OpenAI client at LLMMAN_API_BASE (default http://localhost:17434/v1), mirroring the ollama/ / lmstudio/ blocks; r2r_llm.py routes the prefix there.
  • py/core/configs/llmman.toml: config for R2R_CONFIG_NAME=llmman, modelled on ollama.toml. Completion uses llmman/gemma4; embeddings use hf.co/nomic-ai/nomic-embed-text-v1.5-GGUF (768 dims) via the litellm provider with api_base/api_key from Allow api_base/api_key in embedding config #2269.
  • docker/env/*.env, docker/compose.full.swarm.yaml: expose LLMMAN_API_BASE next to OLLAMA_API_BASE.
  • docs/cookbooks/local.md: short note on using llmman.

Testing: ruff check/ruff format --check and py_compile on the changed Python files; tomllib parses llmman.toml with the same sections as ollama.toml; llmman/… prefixes resolve to the LLMMAN_API_BASE client with the prefix stripped and ollama/ routing unchanged. Not run against a live llmman serve.

AI-assisted, reviewed before submitting.

llmman (https://github.com/llmmanorg/llmman) is a local model runner that
serves the Ollama, OpenAI and Anthropic APIs on port 17434. Wire it in as a
peer of the Ollama and LM Studio integrations: a `llmman/` prefix in the
OpenAI completion provider (LLMMAN_API_BASE, default localhost:17434/v1),
`r2r` routing for that prefix, a `llmman.toml` config, and LLMMAN_API_BASE
in the Docker env files, swarm compose and the local-models cookbook.
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