mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-24 21:30:17 +08:00
feat(presets): add TeamoRouter provider preset for 6 apps
Add TeamoRouter (enterprise Agentic LLM gateway) as a sponsor partner across Claude Code, Claude Desktop, Codex, OpenCode, OpenClaw and Hermes. - Claude Code uses bare host https://api.teamorouter.com; Codex uses https://api.teamorouter.com/v1 (native Responses); OpenCode/OpenClaw/ Hermes use gpt-5.5 over the OpenAI-compatible /v1 endpoint. No Gemini. - apiKeyUrl uses the English referral link with UTM params (in-app stays English; README links are per-language). - Add localized in-app promo blurb (zh/en/ja/zh-TW). - Add README sponsor rows below PatewayAI in all four READMEs. - Register the teamorouter provider icon and pad the README banner to the standard 2.40 aspect ratio.
This commit is contained in:
@@ -395,6 +395,35 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "TeamoRouter",
|
||||
options: {
|
||||
baseURL: "https://api.teamorouter.com/v1",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
models: {
|
||||
"gpt-5.5": { name: "GPT-5.5" },
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "火山Agentplan",
|
||||
websiteUrl: "https://www.volcengine.com/product/ark",
|
||||
|
||||
Reference in New Issue
Block a user