Skip to content

feat(ai): add OrcaRouter provider - #718

Open
murongg wants to merge 1 commit into
v2from
feature/715-orcarouter
Open

feat(ai): add OrcaRouter provider#718
murongg wants to merge 1 commit into
v2from
feature/715-orcarouter

Conversation

@murongg

@murongg murongg commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

OrcaRouter users can now select a built-in provider, enter their API key, and use inline AI or the side panel through the existing OpenAI-compatible transport. The entry is disabled by default, includes OrcaRouter Auto plus three explicit model choices, supports model discovery, and uses the official provider icon.

Existing settings gain the missing entry while retaining saved providers, credentials, custom models, and default selections. Explicit thinking requests use the gateway's documented reasoning_effort field before upstream-specific model heuristics. When thinking is off or unspecified, the gateway's default applies because its documentation does not define a portable off value.

Closes #715.

Validation

  • pnpm --filter @markra/providers test: 46 tests passed.
  • pnpm --filter @markra/ai test: 260 tests passed, including compatible request shaping and streamed text, reasoning, and tool arguments.
  • pnpm --filter @markra/app test: 1,556 tests passed.
  • pnpm --filter @markra/providers --filter @markra/ai --filter @markra/app typecheck:test: passed.
  • pnpm build: passed across the workspace, including desktop and web builds.
  • git diff --check: passed.
  • Public /v1/models endpoint returned 194 models; checked the three explicit seed IDs against it. Auto is an account-scoped router documented separately.
  • Visually checked the provider list, icon, disabled state, URL, and default model in the shared settings UI using a temporary browser harness. The released web runtime continues to have AI disabled; the new entry is exposed in the desktop app.

Authenticated inference has not been tested because no OrcaRouter API key was available. Routing policies, failover configuration, and spending controls remain managed by OrcaRouter.

References

Add a disabled built-in provider using the existing OpenAI-compatible transport, preserve saved settings during migration, and map reasoning to the gateway effort field.

Closes #715
@vercel

vercel Bot commented Sep 8, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
markra-web Ready Ready Preview Sep 8, 2026 6:36am UTC

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.

[Feature]: OrcaRouter provider support for Markra

1 participant