feat: add OrcaRouter as a built-in AI provider template - #1209
Open
JinhaoSong322 wants to merge 1 commit into
Open
feat: add OrcaRouter as a built-in AI provider template#1209JinhaoSong322 wants to merge 1 commit into
JinhaoSong322 wants to merge 1 commit into
Conversation
Add OrcaRouter (https://api.orcarouter.ai/v1) to the provider templates loaded by the AI settings page, mirroring the existing OpenRouter entry. Users can now pick OrcaRouter from the provider list and configure an OrcaRouter API key directly from the AI settings. Bump the provider-templates config version to 1.0.6 so clients refetch the updated list. Signed-off-by: JinhaoSong322 <jinhao.song@myflashcloud.com>
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.
What
Add OrcaRouter as a built-in AI provider template in NoteGen's AI settings.
Users can now pick OrcaRouter from the provider list (alongside OpenRouter, DeepSeek, Grok, etc.), and the base URL
https://api.orcarouter.ai/v1plus the OrcaRouter API key page link are filled in automatically.OrcaRouter is an OpenAI-compatible gateway that gives you one API key to access 200+ frontier and open-weight models. 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.
Changes
config/provider-templates.json— addorcarouterprovider entry (base URLhttps://api.orcarouter.ai/v1, key pagehttps://www.orcarouter.ai, icon fromwww.orcarouter.ai/apple-touch-icon.png), mirroring the existing OpenRouter entry.config/provider-templates-cn.json— same entry for the China storefront config.config/config-manifest.json— bump provider-templates version to1.0.6so clients refetch the updated list (same flow as the previous provider addition in [bug] 自定义模型不能操作 #1196).Verification
tsc --noEmit— clean.next lint— no warnings or errors.POST https://api.orcarouter.ai/v1/chat/completionswith modelorcarouter/auto→HTTP 200, responseORCA-OK;GET /v1/models→HTTP 200; icon URL reachable.Disclosure: I'm an engineer on the OrcaRouter team.