mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-29 01:25:33 +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:
@@ -226,6 +226,20 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
partnerPromotionKey: "zetaapi",
|
||||
icon: "zetaapi",
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
category: "aggregator",
|
||||
baseUrl: "https://api.teamorouter.com",
|
||||
mode: "direct",
|
||||
apiFormat: "anthropic",
|
||||
modelRoutes: passthroughRoutes(),
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
},
|
||||
{
|
||||
name: "火山Agentplan",
|
||||
websiteUrl: "https://www.volcengine.com/product/ark",
|
||||
|
||||
@@ -284,6 +284,22 @@ export const providerPresets: ProviderPreset[] = [
|
||||
partnerPromotionKey: "zetaapi",
|
||||
icon: "zetaapi",
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://api.teamorouter.com",
|
||||
ANTHROPIC_AUTH_TOKEN: "",
|
||||
},
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
},
|
||||
{
|
||||
name: "Gemini Native",
|
||||
websiteUrl: "https://ai.google.dev/gemini-api",
|
||||
|
||||
@@ -333,6 +333,23 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
partnerPromotionKey: "zetaapi",
|
||||
icon: "zetaapi",
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig(
|
||||
"teamorouter",
|
||||
"https://api.teamorouter.com/v1",
|
||||
"gpt-5.5",
|
||||
),
|
||||
endpointCandidates: ["https://api.teamorouter.com/v1"],
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
},
|
||||
{
|
||||
name: "Azure OpenAI",
|
||||
websiteUrl:
|
||||
|
||||
@@ -208,6 +208,26 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
model: { default: "gpt-5.5", provider: "zetaapi" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
settingsConfig: {
|
||||
name: "teamorouter",
|
||||
base_url: "https://api.teamorouter.com/v1",
|
||||
api_key: "",
|
||||
api_mode: "chat_completions",
|
||||
models: [{ id: "gpt-5.5", name: "GPT-5.5" }],
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
suggestedDefaults: {
|
||||
model: { default: "gpt-5.5", provider: "teamorouter" },
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "火山Agentplan",
|
||||
websiteUrl: "https://www.volcengine.com/product/ark",
|
||||
|
||||
@@ -437,6 +437,43 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "TeamoRouter",
|
||||
websiteUrl: "https://teamorouter.com",
|
||||
apiKeyUrl:
|
||||
"https://teamorouter.com/?utm_source=cc_switch&utm_medium=referral&utm_campaign=ai_directory",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://api.teamorouter.com/v1",
|
||||
apiKey: "",
|
||||
api: "openai-completions",
|
||||
models: [
|
||||
{
|
||||
id: "gpt-5.5",
|
||||
name: "GPT-5.5",
|
||||
contextWindow: 400000,
|
||||
},
|
||||
],
|
||||
},
|
||||
category: "aggregator",
|
||||
isPartner: true,
|
||||
partnerPromotionKey: "teamorouter",
|
||||
icon: "teamorouter",
|
||||
templateValues: {
|
||||
apiKey: {
|
||||
label: "API Key",
|
||||
placeholder: "",
|
||||
editorValue: "",
|
||||
},
|
||||
},
|
||||
suggestedDefaults: {
|
||||
model: {
|
||||
primary: "teamorouter/gpt-5.5",
|
||||
},
|
||||
modelCatalog: {
|
||||
"teamorouter/gpt-5.5": { alias: "GPT-5.5" },
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "Unity2.ai",
|
||||
websiteUrl: "https://unity2.ai",
|
||||
|
||||
@@ -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