Skip to content

feat: add OrcaRouter as a first-class model provider - #245

Open
putraperdana1207-pixel wants to merge 1 commit into
dataelement:mainfrom
putraperdana1207-pixel:feat/orcarouter-provider
Open

feat: add OrcaRouter as a first-class model provider#245
putraperdana1207-pixel wants to merge 1 commit into
dataelement:mainfrom
putraperdana1207-pixel:feat/orcarouter-provider

Conversation

@putraperdana1207-pixel

Copy link
Copy Markdown

Add OrcaRouter as a first-class model provider in DSH Desktop's bundled pi-ai catalog, alongside the existing OpenRouter integration.

OrcaRouter is an OpenAI-compatible AI gateway built for both models and agents. Like OpenRouter, it exposes a provider/model namespace across many models — but it also combines adaptive routing, automatic failover, zero-markup inference, observability, guardrails, and agent-tool governance behind the same endpoint. Adding orcarouter as a named provider means DSH Desktop users can use that stack directly, without treating OrcaRouter as an anonymous custom base URL. 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.

This mirrors how the existing openrouter route is wired: a pi-ai catalog provider (@earendil-works/pi-ai patch) with a curated OpenAI-completions catalog of 164 models, plus an entry in the first-run onboarding provider grid and the Models settings provider ordering.

Verification

  • npm test — 554 passed, 2 skipped
  • npm run typecheck — clean
  • npm run build — clean
  • Live test: streamed a completion from https://api.orcarouter.ai/v1 through the orcarouter provider with ORCAROUTER_API_KEY

Discord: discord.gg/YEubt8enRA · X: https://x.com/OrcaRouter

I'm an engineer on the OrcaRouter team.

Add OrcaRouter to the pi-ai built-in catalog as a named provider (id
"orcarouter", baseUrl https://api.orcarouter.ai/v1, ORCAROUTER_API_KEY),
mirroring the existing OpenRouter integration. The provider ships a curated
OpenAI-completions catalog of 164 models, and surfaces in the first-run
onboarding provider grid and the Models settings provider ordering alongside
OpenRouter.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant