Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

OrcaRouter provider support for the Docker Model Runner gateway

Aperta
#1,059 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

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
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
api, backend

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di docker/model-runner

Tutte le issue di docker/model-runner

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.