Repository navigation
[Feat] Add OrcaRouter as an LLM gateway option for PP-ChatOCRv4 and PP-DocTranslation - #18322
Open
kuswardhanietidims-svg wants to merge 2 commits into
Open
kuswardhanietidims-svg wants to merge 2 commits into
kuswardhanietidims-svg wants to merge 2 commits into
Conversation
…anslation Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: jinhao.song <jinhao.song@myflashcloud.com>
kuswardhanietidims-svg
force-pushed
the
feat/orcarouter-provider
branch
from
August 22, 2026 04:42
397e559 to
4e2616b
Compare
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.
Adds OrcaRouter, an OpenAI-compatible AI gateway, as a first-class LLM backend for the
pp_chatocrv4_docandpp_doctranslationpipelines. Mirroring the existing--qianfan_api_keywiring, passing--orcarouter_api_keyroutes both the chat and vectorization requests throughhttps://api.orcarouter.ai/v1(via PaddleX's OpenAI-compatiblechat_bot/retrievermodules). 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.Verification
--orcarouter_api_keyregistered in both CLI executors and generates the OrcaRouterchat_bot_config/retriever_config(wiring test)black/flake8clean on modified fileshttps://api.orcarouter.ai/v1:chat/completions(200) and/embeddings(200)I'm an engineer on the OrcaRouter team.