Files
ds2api/config.example.json
omar ec598144d1
Build and Publish Image / build (push) Successful in 1m27s
chore: english-ize remaining config/UI text and scrub Vercel leftovers
Translate the index.html metadata, .dockerignore, docker-compose comments and
config.example.json comment to English, and restore placeholder credentials in
the example config. Fix the renamed SSE-doc link and TESTING anchor. Drop the
stale Vercel sync hint from the settings page and locales.
2026-06-02 22:38:10 +03:00

66 lines
1.7 KiB
JSON

{
"_comment": "DS2API config example - copy to config.json to use",
"_doc": "Documentation: https://github.com/CJackHwang/ds2api",
"keys": [
"sk-your-api-key"
],
"api_keys": [
{
"key": "sk-your-api-key",
"name": "Default key",
"remark": "API access key for OpenAI/Claude/Gemini clients"
}
],
"accounts": [
{
"name": "Primary account",
"email": "your-email@example.com",
"password": "your-password"
}
],
"model_aliases": {
"gpt-4o": "deepseek-v4-flash",
"gpt-5.5": "deepseek-v4-flash",
"gpt-5.3-codex": "deepseek-v4-pro",
"o3": "deepseek-v4-pro"
},
"compat": {
"wide_input_strict_output": true,
"strip_reference_markers": true
},
"responses": {
"store_ttl_seconds": 900
},
"history_split": {
"enabled": true,
"trigger_after_turns": 1
},
"embeddings": {
"provider": "deterministic"
},
"admin": {
"jwt_expire_hours": 24
},
"runtime": {
"account_max_inflight": 2,
"account_max_queue": 0,
"global_max_inflight": 0,
"token_refresh_interval_hours": 6,
"account_mute_scan_interval_seconds": 43200,
"disable_upstream_file_uploads": false,
"account_health_enabled": true,
"account_health_recovery_window_seconds": 300,
"account_health_max_cooldown_seconds": 1800,
"account_health_cooldown_429_seconds": 30,
"account_health_cooldown_403_seconds": 60,
"account_health_cooldown_auth_seconds": 120,
"account_health_cooldown_5xx_seconds": 10,
"account_health_cooldown_network_seconds": 5,
"account_health_cooldown_empty_seconds": 0,
"account_health_cooldown_muted_seconds": 300
},
"auto_delete": {
"mode": "none"
}
}