-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_conf_schema.json
More file actions
105 lines (105 loc) · 3.49 KB
/
_conf_schema.json
File metadata and controls
105 lines (105 loc) · 3.49 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
{
"ai_behavior": {
"description": "AI 行为配置",
"type": "object",
"hint": "配置 AI 的功能权限",
"items": {
"allow_ai_help_deer": {
"type": "bool",
"description": "允许 AI 帮用户 🦌",
"hint": "开启后,AI 可以通过 deer_other 工具帮助用户打卡。关闭则 AI 不会响应帮🦌请求。",
"default": true
},
"allow_ai_be_deered": {
"type": "bool",
"description": "允许 AI 被 🦌",
"hint": "开启后,用户可以通过 deer_other 工具帮 AI 打卡。关闭则 AI 不会接受被🦌。",
"default": false
},
"allow_ai_help_self": {
"type": "bool",
"description": "允许 AI 帮用户自己打卡",
"hint": "开启后,用户可以让 AI 帮自己打卡(deer_other 自己)。关闭则 AI 只能帮别人打卡,不能帮发消息的用户自己打卡。",
"default": true
},
"custom_prompt": {
"type": "string",
"description": "自定义 LLM Prompt",
"hint": "自定义 prompt 会影响 AI 对🦌打卡行为的认知和回复风格。为空则使用默认行为。",
"default": ""
}
}
},
"limits": {
"description": "限制配置",
"type": "object",
"hint": "各种次数限制设置",
"items": {
"daily_retro_limit": {
"type": "int",
"description": "每日补🦌次数限制",
"hint": "限制每个用户每天可以补打卡的次数。0 表示禁止补🦌,最大 31(一个月最多31天)。",
"default": 1,
"slider": {"min": 0, "max": 31, "step": 1}
}
}
},
"calendar": {
"description": "日历显示配置",
"type": "object",
"hint": "配置日历的视觉表现",
"items": {
"count_display_mode": {
"type": "string",
"description": "打卡次数显示模式",
"hint": "附加模式(additive):打卡2次显示为打勾\"+1\" ; 计数模式(count):打卡2次显示为打勾\"x2\"",
"default": "additive",
"options": [
"additive",
"count"
]
},
"show_check_mark": {
"type": "bool",
"description": "显示打勾图标",
"hint": "开启后,签到区块会显示打勾图标;关闭则只显示打卡次数",
"default": true
}
}
},
"rendering": {
"description": "渲染引擎设置",
"type": "object",
"hint": "配置 HTML 图片渲染参数",
"items": {
"use_t2i": {
"description": "使用 AstrBot 内置 t2i 渲染",
"type": "bool",
"default": false,
"hint": "开启后使用 AstrBot 内置的 t2i 服务渲染图片,无需安装 Playwright"
},
"render_timeout": {
"description": "渲染超时时间",
"type": "int",
"slider": {
"min": 10,
"max": 120,
"step": 5
},
"default": 30,
"hint": "单张图片渲染的最大等待时间(秒)。超时将自动回退到备用方案或返回错误"
},
"jpeg_quality": {
"description": "JPEG 图片质量",
"type": "int",
"slider": {
"min": 50,
"max": 100,
"step": 5
},
"default": 95,
"hint": "Playwright 渲染时 JPEG 图片的质量 (1-100),数值越高质量越好但文件越大"
}
}
}
}