mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 16:37:52 +08:00
feat(keys): expand Grok client samples and tune free soft-gate default
Ship Use Key templates that match Grok Build / Codex best practice: env vars + multi-model config.toml with api_backend=responses, env_key over hardcoded secrets, and clearer shell/path guidance for Claude/Codex/OpenCode. Also set free_quota_token_limit default to 500k (24h soft-gate), clean up personal-dev-only comments, and keep billing test fixtures aligned.
This commit is contained in:
@@ -449,7 +449,7 @@ gateway:
|
||||
# config compatibility only and is ignored by the server.
|
||||
password_auth_enabled: false
|
||||
free_quota_soft_gate_enabled: true
|
||||
free_quota_token_limit: 1000000
|
||||
free_quota_token_limit: 500000
|
||||
free_quota_soft_gate_percent: 95
|
||||
free_quota_window_hours: 24
|
||||
free_quota_stats_cache_seconds: 5
|
||||
|
||||
Reference in New Issue
Block a user