File size: 1,303 Bytes
3dcd8b2
 
 
77988be
 
 
 
 
21f1556
 
3dcd8b2
 
 
 
 
 
21f1556
3dcd8b2
 
72d8b3f
3dcd8b2
 
 
 
fcc568b
3c832a6
 
 
 
299a74b
77988be
b66ac73
77988be
 
850c00e
c2c477d
 
 
3dcd8b2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
  "listen_host": "127.0.0.1",
  "listen_port": 28717,
  "allowed_hosts": [
    "example.com",
    "127.0.0.1",
    "localhost"
  ],
  "cleaner_path": "/root/CLIProxyAPI-cleaner.py",
  "state_file": "/root/CLIProxyAPI-cleaner-state.json",
  "base_url": "https://example.com/management.html",
  "management_key": "replace-me",
  "enable_api_call_check": true,
  "api_call_url": "https://chatgpt.com/backend-api/wham/usage",
  "api_call_method": "GET",
  "api_call_account_id": "",
  "api_call_user_agent": "Mozilla/5.0 CLIProxyAPI-cleaner/1.0",
  "api_call_body": "",
  "api_call_providers": "codex,openai,chatgpt",
  "api_call_max_per_run": 30,
  "api_call_sleep_min": 5.0,
  "api_call_sleep_max": 10.0,
  "revival_wait_days": 7,
  "revival_probe_interval_hours": 12,
  "usage_limit_reset_buffer_seconds": 60,
  "retention_keep_reports": 200,
  "retention_report_max_age_days": 7,
  "retention_backup_max_age_days": 14,
  "retention_log_max_size_mb": 50,
  "password_salt": "",
  "password_hash": "",
  "pre_usage_probe_enabled": true,
  "pre_usage_probe_url": "",
  "pre_usage_probe_method": "POST",
  "pre_usage_probe_body": "{\"model\":\"gpt-5.4\",\"input\":\"ping\",\"max_output_tokens\":1,\"store\":false}",
  "pre_usage_probe_sleep_seconds": 1.0,
  "interval_min": 1800,
  "interval_max": 3600
}