OrcaRouter provider support for the Docker Model Runner gateway
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Inizia leggendo l’astrazione dei provider esistente del gateway e le convenzioni di configurazione per Docker Model Runner, Ollama, OpenAI e Anthropic. Il lavoro è completato quando un provider OrcaRouter opzionale può usare il relativo api_base compatibile con OpenAI e le forme esistenti di api_key senza modificare i provider attuali.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Docker Model Runner makes running and serving LLMs feel native to the Docker workflow. You can pull a model and run docker model run ai/gemma3 "Hello" in one step, then reach the same model through a local OpenAI-compatible chat endpoint. The docker model gateway layers routing, fallbacks, and load balancing on top for teams that outgrow a single local model.
Because the gateway already configures hosted providers as provider/model entries with api_base and api_key, an optional OrcaRouter upstream would fit cleanly. Developers who want cloud-scale or frontier models, or a dependable fallback when local GPUs are busy, could add a hosted option next to openai and anthropic in the same YAML and keep using the same OpenAI-compatible client.
Proposal
I would like to propose OrcaRouter as an optional provider for the Docker Model Runner gateway. This would be purely additive: existing providers such as Docker Model Runner itself, Ollama, OpenAI, and Anthropic would remain untouched, and no user would need to configure OrcaRouter unless they want to.
OrcaRouter exposes an OpenAI-compatible API and uses standard API-key authentication. The expected integration point is the gateway's existing provider abstraction: a new entry whose model field points at OrcaRouter's OpenAI-compatible api_base, with the API key supplied the same way other provider keys are today (inline, os.environ/..., or ${VAR}). I have not implemented or tested anything against this codebase - this issue is to gauge maintainer interest first.
For Docker Model Runner users, the most relevant OrcaRouter capabilities are likely:
- Chat, reasoning, image, and video models from multiple vendors behind one endpoint, handy for evaluating a model before committing to it.
- Automatic model routing and provider failover, complementing the gateway's existing fallbacks for hosted traffic.
- Usage tracking and budgets, which matter once several developers share one gateway.
OrcaRouter is already used in open-source projects such as RAGFlow, Dify, and promptfoo, as well as by tools like goose, all over a standard OpenAI-compatible API.
Transparency note: OrcaRouter runs an optional open-source partner program in which approved OSS projects can receive a 5% revenue share from OrcaRouter usage attributed to their integration. Participation is not a prerequisite for integration, and I am happy to follow any disclosure or governance rules the project prefers. More context is available at https://www.orcarouter.ai/built-with.
I'm an engineer on the OrcaRouter team. Would the maintainers be open to an optional OrcaRouter provider? If so, I would be glad to submit an implementation PR following the project's conventions.
- Lingua principale
- Go
- Stelle
- 656
- Fork
- 156
- Merge medio
- 3g 10h
- PR unite (30g)
- 8
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di docker/model-runner
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
docker/model-runner#1077 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
docker/model-runner#1073 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
docker/model-runner#1063 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
docker/model-runner#1058 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
docker/model-runner#1056 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di docker/model-runner
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
OpenTollGate/tollgate-module-basic-go#833 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
siyuan-note/siyuan#20353 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
attributes-natural-language "en-US" is rejected by PAPPL >= 1.4.12 printers (RFC 8011 requires lowercase)Forse già presa @ChrisEdgington l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
OpenPrinting/ipp-usb#140 ·