-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.json
More file actions
93 lines (93 loc) · 1.98 KB
/
Copy pathconfig.example.json
File metadata and controls
93 lines (93 loc) · 1.98 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
{
"listen": ":7863",
"api_key": "your-api-key-here",
"service_name": "multi2api",
"auth_dir": "./auths",
"state_file": "./data/state.json",
"server": {
"max_body_mb": 8
},
"login": {
"open_browser": true,
"browser": "",
"isolated": true
},
"cooldown": {
"soft_rate": "60s",
"soft_rate_max": "2h"
},
"schedule": {
"checkin_hours": [9, 21],
"keepalive_hours": [22],
"checkin_enabled": true,
"keepalive_enabled": true,
"activity_hours": [10],
"activity_enabled": true
},
"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
},
"codearts": {
"enabled": true,
"refresh_interval_seconds": 60
},
"workbuddy_intl": {
"enabled": true,
"oauth_base_url": "https://www.workbuddy.ai",
"auth_dir": "",
"pool_accounts": true
},
"trae": {
"enabled": true,
"auth_dir": "./auths/trae",
"refresh_interval_seconds": 1800,
"checkin_enabled": true,
"pool_accounts": true,
"oauth_callback_port": "18080",
"fallback_enabled": true,
"queue_threshold": 300,
"max_attempts": 3,
"client_id": ""
},
"loomy": {
"enabled": true,
"auth_dir": "./auths/loomy",
"base_url": "https://loomyad.xunfei.cn/api/v1",
"pool_accounts": true,
"client_data_dir": ""
},
"features": {
"sanitize_blacklist_fingerprints": true
},
"prompt": {
"mode": "custom",
"file": ""
},
"upstash": {
"url": "",
"token": ""
},
"pool": {
"max_in_flight": 3,
"breaker_threshold": 3,
"breaker_cooldown": "30m",
"breaker_cooldown_max": "6h",
"idle_weight_per_hour": 0.5,
"idle_weight_max": 5.0,
"health_check_interval_seconds": 600
},
"session_sticky": {
"enabled": true,
"ttl": "30m",
"gc_interval": "5m"
}
}