You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Hosted API preset for TrustedRouter (OpenAI-compatible, chat only) #581
Is your feature request related to a problem? Please describe.
To use TrustedRouter in twinny today you hand-configure an "OpenAI-compatible server" with a remote hostname, https, /v1, an API key, and then type a model id. A hosted preset fills that in.
Describe the solution you'd like
A hosted chat preset for TrustedRouter, wired the same way as the DemonRoute preset (#545):
src/common/constants/providers.ts: TrustedRouter: "trustedrouter" in OPEN_AI_COMPATIBLE_PROVIDERS, display name "TrustedRouter".
src/webview/providers/presets.tsx: hosted preset with the existing codicon("plug") glyph, default model deepseek/deepseek-v4-flash; any model on the key can be picked instead.
preset-trustedrouter blurb in all 14 locale files.
Scope: chat only, like #545. No FIM or embeddings.
About the service
TrustedRouter is a hosted OpenAI-compatible gateway (https://api.trustedrouter.com/v1, chat at /v1/chat/completions) that routes to many providers with one API key. Model ids are vendor-prefixed (e.g. anthropic/claude-sonnet-4.5, deepseek/deepseek-v4-flash), and trustedrouter/auto picks a model per request. GET https://api.trustedrouter.com/v1/models lists the catalog without a key. Docs: https://trustedrouter.com/docs. Keys: https://trustedrouter.com/console/api-keys.
Describe alternatives you've considered
Keep using the generic OpenAI-compatible server form.
I'll open a PR against main like #545 and link it here.
Activity
jperla commentedon Nov 20, 2026
PR: #582