Spaces:
Paused
Paused
Download web_config.example.json from axm0121/Self-Cpa-Cleaner: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/spaces/axm0121/Self-Cpa-Cleaner/resolve/main/web_config.example.json
- Command line
-
hf download hf://spaces/axm0121/Self-Cpa-Cleaner/web_config.example.json
-
curl -L -o web_config.example.json https://huggingface.co/spaces/axm0121/Self-Cpa-Cleaner/resolve/main/web_config.example.json
1.3 kB
| { | |
| "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 | |
| } | |