Spaces:
Sleeping
Sleeping
add config.json
Browse files- config.json +62 -0
config.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"auth-key": "chatgpt2api",
|
| 3 |
+
"refresh_account_interval_minute": 60,
|
| 4 |
+
"image_retention_days": 15,
|
| 5 |
+
"image_poll_timeout_secs": 120,
|
| 6 |
+
"auto_remove_rate_limited_accounts": false,
|
| 7 |
+
"auto_remove_invalid_accounts": true,
|
| 8 |
+
"log_levels": [
|
| 9 |
+
"debug",
|
| 10 |
+
"error",
|
| 11 |
+
"info",
|
| 12 |
+
"warning"
|
| 13 |
+
],
|
| 14 |
+
"proxy": "",
|
| 15 |
+
"base_url": "",
|
| 16 |
+
"sensitive_words": [],
|
| 17 |
+
"global_system_prompt": "",
|
| 18 |
+
"ai_review": {
|
| 19 |
+
"enabled": false,
|
| 20 |
+
"base_url": "",
|
| 21 |
+
"api_key": "",
|
| 22 |
+
"model": "",
|
| 23 |
+
"prompt": ""
|
| 24 |
+
},
|
| 25 |
+
"backup": {
|
| 26 |
+
"enabled": false,
|
| 27 |
+
"provider": "cloudflare_r2",
|
| 28 |
+
"account_id": "admin",
|
| 29 |
+
"access_key_id": "",
|
| 30 |
+
"secret_access_key": "admin",
|
| 31 |
+
"bucket": "",
|
| 32 |
+
"prefix": "backups",
|
| 33 |
+
"interval_minutes": 1440,
|
| 34 |
+
"rotation_keep": 10,
|
| 35 |
+
"encrypt": false,
|
| 36 |
+
"passphrase": "",
|
| 37 |
+
"include": {
|
| 38 |
+
"config": true,
|
| 39 |
+
"register": true,
|
| 40 |
+
"cpa": true,
|
| 41 |
+
"sub2api": true,
|
| 42 |
+
"logs": true,
|
| 43 |
+
"image_tasks": true,
|
| 44 |
+
"accounts_snapshot": true,
|
| 45 |
+
"auth_keys_snapshot": true,
|
| 46 |
+
"images": false
|
| 47 |
+
}
|
| 48 |
+
},
|
| 49 |
+
"image_account_concurrency": 3,
|
| 50 |
+
"image_poll_interval_secs": 10,
|
| 51 |
+
"image_poll_initial_wait_secs": 10,
|
| 52 |
+
"image_storage": {
|
| 53 |
+
"enabled": false,
|
| 54 |
+
"mode": "local",
|
| 55 |
+
"webdav_url": "",
|
| 56 |
+
"webdav_username": "",
|
| 57 |
+
"webdav_password": "",
|
| 58 |
+
"webdav_root_path": "chatgpt2api/images",
|
| 59 |
+
"public_base_url": ""
|
| 60 |
+
},
|
| 61 |
+
"image_min_free_mb": 500
|
| 62 |
+
}
|