feat: add TrustedRouter as a built-in provider - #12618
Open
jperla wants to merge 4 commits into
Open
Conversation
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
jperla
force-pushed
the
add-trustedrouter-docs
branch
from
June 16, 2026 11:42
b674b4c to
ec19cb1
Compare
jperla
force-pushed
the
add-trustedrouter-docs
branch
from
June 25, 2026 20:53
ec19cb1 to
11e0cf2
Compare
Author
|
I have read the CLA Document and I hereby sign the CLA recheck |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
|
recheck |
1 similar comment
Author
|
recheck |
jperla
force-pushed
the
add-trustedrouter-docs
branch
from
June 28, 2026 00:38
42bf951 to
9c59a10
Compare
Author
|
Friendly follow-up: this docs-only PR is mergeable, and the remaining failing check appears to be |
Author
|
CLA is signed and this is still current against main. Happy to reshape to whatever fits your provider-docs conventions — shorter, different page, or generalized. Quick to adjust. |
jperla
force-pushed
the
add-trustedrouter-docs
branch
from
August 8, 2026 19:30
a79dc55 to
7afd09e
Compare
- core/llm/llms/TrustedRouter.ts (OpenAI-compatible, default apiBase + trustedrouter/auto) - register in core llms index, openai-adapters registry, and VS Code config schema - GUI provider card with router-alias presets and logo - point the existing docs page at the built-in provider id
jperla
force-pushed
the
add-trustedrouter-docs
branch
from
August 11, 2026 00:40
7ff9de3 to
d9a2a60
Compare
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 TrustedRouter (https://api.trustedrouter.com/v1, OpenAI-compatible) as a built-in provider, mirroring the existing aggregate-router providers:
core/llm/llms/TrustedRouter.ts— OpenAI-compatible provider with defaultapiBaseandtrustedrouter/autodefault model; model listing works through the standard/modelspathcore/llm/llms/index.ts,packages/openai-adapters(types.ts+ registry case), and the VS Codeconfig_schema.jsonprovider enum (+ description, arrays verified aligned)auto,zdr,e2e) and logoprovider: trustedrouteridVerified:
tsc --noEmitclean in core, openai-adapters, and gui; existing OpenRouter vitest suite passes.This reworks the earlier docs-only version of this PR into a code integration.