Skip to content

docs: add OrcaRouter as an OpenAI-compatible gateway example - #239

Open
Marc-oss-hub wants to merge 1 commit into
nextai-translator:mainfrom
Marc-oss-hub:docs/orcarouter-example
Open

docs: add OrcaRouter as an OpenAI-compatible gateway example#239
Marc-oss-hub wants to merge 1 commit into
nextai-translator:mainfrom
Marc-oss-hub:docs/orcarouter-example

Conversation

@Marc-oss-hub

@Marc-oss-hub Marc-oss-hub commented Aug 17, 2026

Copy link
Copy Markdown

Add OrcaRouter as a named OpenAI-compatible gateway example in the docs

Mirrors the existing OpenRouter wiring: the plugin itself is a generic URL-based client (per AGENTS.md, individual services are named only when they provide a useful configuration example), and OrcaRouter is exactly such an example — it exposes Anthropic Claude models through a standard OpenAI-compatible /v1/chat/completions endpoint (https://api.orcarouter.ai/v1/chat/completions).

Changes:

  • docs/configuration_manual_EN.md: added OrcaRouter to the "Common examples" list (sorted after OpenRouter, before Vercel)
  • docs/configuration_manual_CN.md: same entry in the Chinese manual
  • docs/architecture.md: added OrcaRouter to the "Provider sources" list

The endpoint was live-verified against anthropic/claude-haiku-4.5 — it returns a standard chat.completion, so no provider-specific codec is needed (consistent with the architecture's "Rejected complexity" section).

OrcaRouter is an AI gateway that routes requests to Claude and OpenAI models through one unified endpoint. 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.

I'm an engineer on the OrcaRouter team.

Summary by Sourcery

Documentation:

  • Add OrcaRouter and its chat completions endpoint to the English and Chinese configuration manuals and provider source documentation.

Mirror the existing OpenRouter entry in the configuration manuals and the
provider-sources list. OrcaRouter exposes Anthropic Claude models through an
OpenAI-compatible /v1/chat/completions endpoint, giving Bob users a named
example for reaching Claude models in this plugin.

Co-Authored-By: Claude <noreply@anthropic.com>
@sourcery-ai

sourcery-ai Bot commented Aug 17, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds OrcaRouter as a documented OpenAI-compatible gateway example and provider source alongside existing gateways (OpenRouter, Vercel), updating both English and Chinese configuration manuals and the architecture overview to include its URL and reference link.

File-Level Changes

Change Details Files
Document OrcaRouter as an OpenAI-compatible chat completions gateway example in both EN and CN configuration manuals.
  • Expanded the common examples list of OpenAI-compatible endpoints to include OrcaRouter’s chat completions URL.
  • Positioned OrcaRouter in the examples list immediately after OpenRouter and before Vercel to keep ordering consistent.
  • Kept wording and formatting aligned with existing gateway examples to avoid introducing new concepts or special handling.
docs/configuration_manual_EN.md
docs/configuration_manual_CN.md
Add OrcaRouter to the architecture docs as a provider source reference.
  • Extended the provider sources link list to include OrcaRouter as an additional OpenAI-compatible gateway.
  • Placed the OrcaRouter link after OpenRouter and before the Vercel AI Gateway entry to mirror the configuration manuals’ ordering.
  • Preserved the existing description style by adding only a bare link label and URL, matching surrounding entries.
docs/architecture.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

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