Repository navigation
feat(provider): add OrcaRouter as a named compatible provider - #387
Merged
Devin-AXIS merged 1 commit intoAug 20, 2026
Merged
Conversation
Add OrcaRouter as a first-class compatible provider preset so users can connect it with an API key and use it from every supported agent engine. - orcarouter-provider.ts: preset with base URL https://api.orcarouter.ai/v1, fallback model catalog (orcarouter/auto adaptive router + flagship gateway models), runtime model builder and OpenAI-compatible model parser - store.ts: register the OrcaRouter preset in COMPATIBLE_PROVIDER_PRESETS and synthesize its API-key auth method - provider-auth-curation.ts / utils/index.ts / provider-icon.tsx: display name and icon fallback for the orcarouter provider id - provider-auth-modal.tsx: OrcaRouter copy, signup link and sk-orca- placeholder - tests: unit tests for the preset plus a store-level connection test Co-Authored-By: jinhao.song <[email protected]> Signed-off-by: JinhaoSong322 <[email protected]>
This was referenced Oct 2, 2026
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
Add OrcaRouter as a named, first-class compatible provider preset in the provider auth flow. Users can connect an OrcaRouter API key and use it from every supported agent engine, exactly like the existing DeepSeek / Qwen / TokenStar presets.
OrcaRouter is an AI gateway that routes each request to the best model for the task across OpenAI, Anthropic, Google, DeepSeek, MiniMax, and more through a single OpenAI-compatible endpoint (
https://api.orcarouter.ai/v1). It also runs gateway-level, zero-trust security for AI agents on the same endpoint — screening every prompt/response and governing every tool call on a default-deny basis, with no application code changes.Why
iPolloWork already ships named OpenAI-compatible provider presets (DeepSeek, Qwen, TokenStar). Adding OrcaRouter as a named preset makes it a one-click, discoverable provider rather than requiring users to configure a custom OpenAI-compatible endpoint.
Issue
N/A
Scope
orcarouter-provider.tswith the preset definition (base URL, fallback model catalog, runtime model builder, OpenAI-compatible model parser).store.ts: register the OrcaRouter preset inCOMPATIBLE_PROVIDER_PRESETSand synthesize its API-key auth method.orcarouterprovider id.sk-orca-...API key placeholder.Out of scope
Testing
Ran
pnpm --filter @ipollowork/app typecheckbun test apps/app/tests/orcarouter-provider.test.ts apps/app/tests/provider-engine-adapter.test.ts apps/app/tests/provider-auth-curation.test.ts apps/app/tests/settings-provider-branding.test.tsbun test --isolate tests/(full app suite)node scripts/sync-readme-zh-hant.mjs --checkPOST https://api.orcarouter.ai/v1/chat/completionswithorcarouter/auto→ HTTP 200, contentORCA-OK; all preset gateway models confirmed present in/v1/models.Result
main(composer model menu ×2, sidebar primary actions, managed brand header); none touch provider wiring.CI status
action_requireduntil a maintainer approves CI).Manual verification
opencode.jsonvia@ai-sdk/openai-compatiblewithbaseURL: https://api.orcarouter.ai/v1and the fallback model catalog.Evidence
Live API test (above) verifies the endpoint and model catalog end-to-end.
Contributor statement
CONTRIBUTING.md.Disclosure: I'm an engineer on the OrcaRouter team.