Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

feat(shared): add TrustedRouter proxy preset - #562

Open
jperla wants to merge 1 commit into
OpenCoworkAI:mainfrom
jperla:add-trustedrouter
Open

jperla wants to merge 1 commit into
OpenCoworkAI:mainfrom
jperla:add-trustedrouter

Conversation

@jperla

@jperla jperla commented Nov 16, 2026

Copy link
Copy Markdown

Summary

Adds TrustedRouter as a proxy preset, next to the OpenRouter, Requesty and Opper presets. TrustedRouter is an OpenAI-compatible gateway: base URL https://api.trustedrouter.com/v1, GET /models for model discovery (public, no key needed), vendor-prefixed model ids such as anthropic/claude-sonnet-4.5. Same three files as the Opper preset in #529.

Usage: pick "TrustedRouter" in provider settings, paste an API key (TRUSTEDROUTER_API_KEY), and choose a model from the list. Docs: https://trustedrouter.com/docs

Type of change

  • Bug fix
  • New feature
  • Refactor (no behavior change)
  • Documentation
  • Build / CI / tooling
  • Breaking change

Linked issue

Refs #529 (same pattern)

Checklist

  • I checked the linked issue / relevant context before starting
  • pnpm lint && pnpm typecheck && pnpm test passes locally (ran the scoped checks for the touched package, below; CI runs the full set)
  • Added/updated tests for the change
  • Added a changeset (pnpm changeset) if user-visible
  • Updated docs if behavior changed (not needed)

Verification

pnpm --filter @open-codesign/shared exec vitest run src/proxy-presets.test.ts   # 8 passed
pnpm --filter @open-codesign/shared test                                        # 23 files, 397 tests passed
pnpm --filter @open-codesign/shared typecheck                                   # tsc --noEmit, no errors
pnpm exec biome check packages/shared/src/proxy-presets.ts packages/shared/src/proxy-presets.test.ts   # no issues

Disclosure: I work on TrustedRouter.

@github-actions github-actions Bot added the docs Documentation label Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant