-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathconfig.example.json
More file actions
118 lines (117 loc) · 3.37 KB
/
config.example.json
File metadata and controls
118 lines (117 loc) · 3.37 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
{
"probe_json": "probe_files/default/probe.json",
"host": "127.0.0.1",
"port": 8787,
"api_key": "change-me-openai-key",
"upstream_base_url": "https://www.notion.so",
"upstream_origin": "https://www.notion.so",
"upstream_host_header": "",
"upstream_tls_server_name": "",
"upstream_use_env_proxy": false,
"proxy_mode": "off",
"proxy_url": "",
"proxy_http_url": "",
"proxy_https_url": "",
"resin_enabled": false,
"resin_url": "",
"resin_platform": "Default",
"resin_mode": "forward",
"model_id": "auto",
"default_model": "auto",
"active_account": "",
"timeout_sec": 180,
"poll_interval_sec": 1.5,
"poll_max_rounds": 40,
"user_name": "",
"space_name": "",
"debug_upstream": true,
"stream_chunk_runes": 24,
"admin": {
"enabled": true,
"password": "change-me-admin-password",
"token_ttl_hours": 24,
"static_dir": "static/admin"
},
"responses": {
"store_ttl_seconds": 3600
},
"storage": {
"sqlite_path": "data/notion2api.sqlite",
"persist_conversations": true,
"persist_conversation_snapshots": true,
"persist_responses": true,
"persist_continuation_sessions": true,
"persist_sillytavern_bindings": true
},
"limits": {
"max_request_body_bytes": 4194304
},
"features": {
"use_web_search": true,
"use_read_only_mode": false,
"force_disable_upstream_edits": false,
"force_fresh_thread_per_request": true,
"writer_mode": false,
"enable_generate_image": true,
"enable_csv_attachment_support": true,
"ai_surface": "ai_module",
"thread_type": "workflow",
"is_custom_agent": false,
"is_custom_agent_builder": false,
"use_custom_agent_draft": false,
"search_scopes": []
},
"login_helper": {
"sessions_dir": "probe_files/notion_accounts",
"timeout_sec": 120
},
"session_refresh": {
"enabled": true,
"interval_sec": 900,
"startup_check": true,
"retry_on_auth_error": true,
"auto_switch_account": true
},
"dispatch": {
"probe_cache_ttl_seconds": 45
},
"browser": {
"helper_pool_size": 0
},
"debug": {
"pprof_enabled": false,
"pprof_addr": "127.0.0.1:6060"
},
"accounts": [
{
"email": "alice@example.com",
"probe_json": "probe_files/notion_accounts/alice_example_com/probe.json",
"profile_dir": "probe_files/notion_accounts/alice_example_com",
"storage_state_path": "probe_files/notion_accounts/alice_example_com/storage_state.json",
"pending_state_path": "probe_files/notion_accounts/alice_example_com/pending_login.json",
"proxy_mode": "resin_forward",
"sticky_proxy_account": "alice",
"resin_enabled": true,
"resin_url": "http://127.0.0.1:2260/your-resin-token",
"resin_platform": "Default",
"resin_mode": "forward",
"priority": 100,
"disabled": false
},
{
"email": "bob@example.com",
"probe_json": "probe_files/notion_accounts/bob_example_com/probe.json",
"profile_dir": "probe_files/notion_accounts/bob_example_com",
"storage_state_path": "probe_files/notion_accounts/bob_example_com/storage_state.json",
"pending_state_path": "probe_files/notion_accounts/bob_example_com/pending_login.json",
"proxy_mode": "socks5",
"proxy_url": "socks5://127.0.0.1:1080",
"priority": 50,
"disabled": false
}
],
"model_aliases": {
"gpt54": "gpt-5.4",
"gpt52": "gpt-5.2"
}
}