Skip to content

feat: add TrustedRouter as a built-in provider - #12618

Open
jperla wants to merge 4 commits into
continuedev:mainfrom
jperla:add-trustedrouter-docs
Open

feat: add TrustedRouter as a built-in provider#12618
jperla wants to merge 4 commits into
continuedev:mainfrom
jperla:add-trustedrouter-docs

Conversation

@jperla

@jperla jperla commented Jun 12, 2026

Copy link
Copy Markdown

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 default apiBase and trustedrouter/auto default model; model listing works through the standard /models path
  • registered in core/llm/llms/index.ts, packages/openai-adapters (types.ts + registry case), and the VS Code config_schema.json provider enum (+ description, arrays verified aligned)
  • GUI: Add-model provider card with router-alias presets (auto, zdr, e2e) and logo
  • docs page updated to use the built-in provider: trustedrouter id

Verified: tsc --noEmit clean 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.

@jperla
jperla requested a review from a team as a code owner June 12, 2026 23:04
@jperla
jperla requested review from sestinj and removed request for a team June 12, 2026 23:04
@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 2 files

Re-trigger cubic

@jperla
jperla force-pushed the add-trustedrouter-docs branch from b674b4c to ec19cb1 Compare June 16, 2026 11:42
@dosubot dosubot Bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 16, 2026
@jperla
jperla force-pushed the add-trustedrouter-docs branch from ec19cb1 to 11e0cf2 Compare June 25, 2026 20:53
@jperla

jperla commented Jun 25, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

recheck

@jperla

jperla commented Jun 25, 2026

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@jperla

jperla commented Jun 28, 2026

Copy link
Copy Markdown
Author

recheck

1 similar comment
@jperla

jperla commented Jun 28, 2026

Copy link
Copy Markdown
Author

recheck

@jperla
jperla force-pushed the add-trustedrouter-docs branch from 42bf951 to 9c59a10 Compare June 28, 2026 00:38
@jperla

jperla commented Jul 2, 2026

Copy link
Copy Markdown
Author

Friendly follow-up: this docs-only PR is mergeable, and the remaining failing check appears to be jetbrains-tests, which looks unrelated to the docs change. Could a maintainer re-run or advise if there is anything I should change?

@jperla

jperla commented Jul 9, 2026

Copy link
Copy Markdown
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
jperla force-pushed the add-trustedrouter-docs branch from a79dc55 to 7afd09e Compare August 8, 2026 19:30
@jperla jperla changed the title Document TrustedRouter provider setup feat: add TrustedRouter as a built-in provider Aug 8, 2026
jperla added 2 commits August 10, 2026 17:40
- 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
jperla force-pushed the add-trustedrouter-docs branch from 7ff9de3 to d9a2a60 Compare August 11, 2026 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant