ai_api / src /shared /constants /providers /upstream-proxy.ts
Yogesh
initial deploy
cd8bd0a
Raw
History Blame Contribute Delete
1.02 kB
/**
* Provider catalog data — extracted from providers.ts (god-file decomposition).
* Pure data literal; re-exported by the providers.ts barrel. No behavior change.
*/
export const UPSTREAM_PROXY_PROVIDERS = {
cliproxyapi: {
id: "cliproxyapi",
alias: "cpa",
name: "CLIProxyAPI",
icon: "proxy",
color: "#6366F1",
textIcon: "CPA",
website: "https://github.com/router-for-me/CLIProxyAPI",
defaultPort: 8317,
healthEndpoint: "/v1/models",
managementPrefix: "/v0/management",
configDir: "~/.cli-proxy-api",
binaryName: "cli-proxy-api",
githubRepo: "router-for-me/CLIProxyAPI",
},
"9router": {
id: "9router",
alias: "nr",
name: "9router",
icon: "router",
color: "#0EA5E9",
textIcon: "9R",
website: "https://www.npmjs.com/package/9router",
defaultPort: 20130,
healthEndpoint: "/api/health",
npmPackage: "9router",
embedded: true,
isEmbeddedService: true,
riskNoticeVariant: "embedded-service" as const,
},
};