Files
codewhale/web/lib/facts.generated.ts
T
Hunter Bown 4eccb1b5cd fix(web): correct China-network install snippet (#1104 follow-up) (#1121)
DeepSeek's official API has a single endpoint, https://api.deepseek.com,
with servers physically in China. There is no separate mainland endpoint,
and api.deepseeki.com is a typo grandfathered into the source.

The /zh/install "国内 API 访问" panel previously suggested users set a
custom base_url to a China endpoint, which doesn't exist. Replace with
the truth: the default works for mainland users; only override
DEEPSEEK_BASE_URL if you have a private mirror.

Also re-runs derive-facts to keep facts.generated.ts at 9 providers.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 21:53:40 -05:00

97 lines
2.0 KiB
TypeScript

// AUTO-GENERATED by web/scripts/derive-facts.mjs at prebuild.
// DO NOT EDIT — re-run `npm run prebuild` (or just `npm run build`) after changing the parent repo.
// To override at runtime, write the same shape to KV under key "facts:current".
export interface ProviderFact { id: string; label: string; env: string }
export interface RepoFacts {
generatedAt: string;
version: string | null;
crates: string[];
sandboxBackends: string[];
providers: ProviderFact[];
defaultModel: string | null;
nodeEngines: string | null;
toolCount: number | null;
license: string | null;
latestRelease: string | null;
}
export const FACTS: RepoFacts = {
"generatedAt": "2026-05-08T02:25:40.439Z",
"version": "0.8.18",
"crates": [
"agent",
"app-server",
"cli",
"config",
"core",
"execpolicy",
"hooks",
"mcp",
"protocol",
"secrets",
"state",
"tools",
"tui",
"tui-core"
],
"sandboxBackends": [
"landlock (Linux)",
"seatbelt (macOS)",
"AppContainer / restricted tokens (Windows)"
],
"providers": [
{
"id": "deepseek",
"label": "DeepSeek",
"env": "DEEPSEEK_API_KEY"
},
{
"id": "nvidia-nim",
"label": "NVIDIA NIM",
"env": "NVIDIA_API_KEY"
},
{
"id": "openai",
"label": "OpenAI",
"env": "OPENAI_API_KEY"
},
{
"id": "openrouter",
"label": "OpenRouter",
"env": "OPENROUTER_API_KEY"
},
{
"id": "novita",
"label": "Novita",
"env": "NOVITA_API_KEY"
},
{
"id": "fireworks",
"label": "Fireworks",
"env": "FIREWORKS_API_KEY"
},
{
"id": "sglang",
"label": "sglang",
"env": "SGLANG_API_KEY"
},
{
"id": "vllm",
"label": "vLLM",
"env": "VLLM_API_KEY"
},
{
"id": "ollama",
"label": "Ollama",
"env": "OLLAMA_API_KEY"
}
],
"defaultModel": "deepseek-v4-pro",
"nodeEngines": ">=18",
"toolCount": 61,
"license": "MIT",
"latestRelease": null
};