Repository navigation
Expand file tree
/
Copy pathconfig.example.json
More file actions
126 lines (126 loc) · 2.69 KB
/
Copy pathconfig.example.json
File metadata and controls
126 lines (126 loc) · 2.69 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"listen": ":7863",
"api_key": "test_key",
"auth_dir": "./auths",
"state_file": "./data/state.json",
"server": {
"read_timeout": "300s"
},
"panel": {
"package_detail_limit": 5
},
"logging": {
"request_archive_enabled": true,
"request_retention_days": 7,
"request_archive_max_mb": 100,
"request_client_info": true
},
"cooldown": {
"soft_rate": "600s",
"soft_rate_max": "2h"
},
"schedule": {
"checkin_hours": [9, 21],
"growth_hours": [1],
"travel_hours": [9, 21],
"activity_hours": [10],
"keepalive_hours": [22],
"blackcat_hours": [23],
"checkin_enabled": true,
"growth_enabled": true,
"travel_enabled": true,
"activity_enabled": true,
"keepalive_enabled": true,
"blackcat_enabled": true,
"balance_refresh_enabled": true,
"balance_refresh_minutes": 5,
"include_disabled_in_tasks": false
},
"global": {
"enabled": true,
"chat_base": "",
"billing_base": ""
},
"upstream": {
"timeout_seconds": 120,
"header_timeout_seconds": 120,
"idle_timeout_seconds": 300,
"user_agent": "",
"client_version": "",
"cli_version": "",
"client_name": "",
"device_token": "",
"device_token_file": "",
"passthrough_ip": false
},
"features": {
"sanitize_blacklist_fingerprints": true
},
"prompt": {
"mode": "passthrough",
"file": ""
},
"upstash": {
"url": "",
"token": ""
},
"pool": {
"max_in_flight": 3,
"max_in_flight_global": 2,
"breaker_threshold": 3,
"breaker_cooldown": "30m",
"breaker_cooldown_max": "6h",
"degrade_threshold": 5,
"degrade_cooldown": "10m",
"degrade_cooldown_max": "2h",
"idle_weight_per_hour": 0.5,
"idle_weight_max": 5.0,
"prefer_expiring": true,
"expiring_soon": "168h",
"cost_explore_interval": "30m",
"credit_floor": 100
},
"session_sticky": {
"enabled": true,
"ttl": "30m",
"gc_interval": "5m"
},
"trust_proxy": false,
"auto_model": {
"enabled": true,
"day_primary": "cn:hy3",
"night_primary": "cn:hy4-preview",
"day_start": 8,
"day_end": 23,
"fallback": [
"cn:hy3",
"cn:deepseek-v4.1-flash",
"cn:glm-5.3-flash",
"cn:hy3-x"
],
"virtual_id": "auto",
"override": true,
"on_empty": true,
"fallback_on": null
},
"model_fallback": {
"cn:hy3": [
"cn:deepseek-v4.1-flash",
"cn:glm-5.3-flash",
"cn:hy3-x"
],
"cn:hy4-preview": [
"cn:hy3",
"cn:deepseek-v4.1-flash",
"cn:glm-5.3-flash",
"cn:hy3-x"
],
"cn:deepseek-v4.1-flash": [
"cn:glm-5.3-flash",
"cn:hy3-x"
],
"cn:glm-5.3-flash": [
"cn:hy3-x"
]
}
}