Repository navigation
feat: add OrcaRouter as a named inference provider - #2553
Draft
Marc-oss-hub wants to merge 1 commit into
Draft
Marc-oss-hub wants to merge 1 commit into
Marc-oss-hub wants to merge 1 commit into
Conversation
Add a ready-made `orcarouter.yaml` config to the `inference_provider` model server (mirroring the OpenRouter config), plus rows in the inference-provider README and Fern docs tables. OrcaRouter is an OpenAI-compatible routing gateway (https://api.orcarouter.ai/v1). Registering it as a named provider makes it selectable via `--model-type inference_provider/orcarouter` with just `policy_api_key` and `policy_model_name` in env.yaml; the generic `inference_provider.yaml` remains available for unlisted providers. Verified against the live gateway: /v1/models returns 193 models (including openai/gpt-5.5), and a /v1/chat/completions call through the same OpenAI-compatible transport the server uses returned 200. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Marc-oss-hub <sjh668899@outlook.com>
This was referenced Sep 8, 2026
This was referenced Sep 15, 2026
This was referenced Oct 22, 2026
yaoyu-33
marked this pull request as draft
November 18, 2026 02:15
Contributor
|
We’re doing some cleanup of the open PR list. This PR has had no activity for over a month, so I’ve moved it back to draft. If this change is still needed, please resolve any merge conflicts and mark the PR ready for review again when it’s ready to merge. Thanks! |
This branch has not been deployed
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.
Summary
Adds OrcaRouter as a named provider to the
inference_providermodel server, wired exactly like the existing OpenRouterentry: a ready-made
configs/orcarouter.yamlplus rows in the README and Ferndocs provider tables.
I'm an engineer on the OrcaRouter team.
What does this PR do?
responses_api_models/inference_provider/configs/orcarouter.yaml(new):named config pointing at
https://api.orcarouter.ai/v1, mirroringopenrouter.yaml. Auto-discovered bynemo_gym/model_registry.py, so it'sselectable via
--model-type inference_provider/orcarouterwith justpolicy_api_keyandpolicy_model_nameset inenv.yaml.responses_api_models/inference_provider/README.md: adds OrcaRouter tothe Supported Providers table.
fern/versions/latest/pages/model-server/inference-providers.mdx: addsOrcaRouter (base URL + config) to the Supported Providers table.
OrcaRouter is an OpenAI-compatible routing gateway, so the server uses the same
/v1/chat/completionstransport as the otherinference_providervariants; noapplication code changes. The generic
inference_provider.yamlremainsavailable for any unlisted provider.
Checklist
and
tests/unit_tests/test_model_registry.pycover discovery mechanicsand are unaffected).
pre-commit run --all-files): theYAML/README/mdx files added are outside the
.py-only hooks;ruff,end-of-file-fixer, andtrailing-whitespacereport no findings.git commit -s).Verification
nemo_gym/model_registry._discover_models_in_dirwalksconfigs/*.yaml, soinference_provider/orcarouteris discoverable with noregistry changes.
gateway):
GET /v1/modelsreturns 200 with 193 models (incl.openai/gpt-5.5);POST /v1/chat/completionswith an OrcaRouter API keyreturns 200 and the expected completion.
inherits OrcaRouter's gateway-level, zero-trust security controls for AI
agents, with no application code changes.