Repository navigation
Conversation
Adds OmniRoute as a text-generation provider option alongside OpenAI, Gemini, OpenRouter, Kimi, MiMo, and GLM — an OpenAI-compatible gateway that owns upstream provider credentials, routing, and failover so this app only needs a single client key and combo/model (e.g. auto/smart). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Thanks @agunggnn for this. It covers a need we have too: sending text generation through a self-hosted gateway. @darkzOGx, this is a question about scope, not a request to merge this PR as it stands. Would you take one generic "OpenAI-compatible endpoint" text provider, configured by base URL, key and model, instead of a preset per gateway? This PR and #16 (Atlas Cloud) would both fit it, and so would LiteLLM, vLLM, Ollama and similar servers. What we hit on a self-hosted install pinned at e26792a:
A shape that would cover it:
The existing If you'd rather build it yourself, that works for us. Either way, we're glad to test a branch against a local gateway and report back. |
Summary
auto/smart).env.example, README, and a newdocs/OMNIROUTE.mdwalkthrough docTest plan
node test.js— 16/16 passednpm run lint— 0 errors (only pre-existing warnings)🤖 Generated with Claude Code