2026-07-24 00:25:43 +08:00
{
"basic_config" : {
"description" : "基础配置" ,
"type" : "object" ,
"hint" : "插件身份、目标对象、主模型、Token 限额和全局运行模式。" ,
"items" : {
"enable_proactive_only_mode" : {
"description" : "仅保留主动能力" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,本插件只保留主动私聊的日程、生成和发送链路;普通私聊/群聊消息不会再进入本插件的被动增强、图片/转发处理、防抖、群聊观察、TTS 后处理或提示词注入,但不会阻止 AstrBot 默认回复或其他插件处理。用户回复本插件主动消息时仍会轻量记录为已回应。适合只想使用主动陪伴,或担心本插件被动链路误接管、误识别的场景。" ,
"default" : false
} ,
"bot_name" : {
"description" : "Bot 名字 / 页面展示名" ,
"type" : "string" ,
"hint" : "用于日程、状态、日记和拓展页面展示,不会覆盖 AstrBot 全局人格名。" ,
"default" : "小星"
} ,
"plugin_specific_persona_id" : {
"description" : "插件指定人格 ID" ,
"type" : "string" ,
"_special" : "select_persona" ,
"default" : "" ,
"hint" : "选择系统中已定义的人设后,本插件内部的关系评估、状态注入、日程、主动消息等人格参考会优先使用该人格。留空时回退到 AstrBot 当前默认人格。"
} ,
"LLM_PROVIDER_ID" : {
"description" : "主模型 / 日程模型(留空用 AstrBot 默认)" ,
"type" : "string" ,
"default" : "" ,
"_special" : "select_provider" ,
"hint" : "插件所有未单独指定模型的 LLM 任务都会回退到这里;留空则使用 AstrBot 默认会话模型。"
} ,
"storage_backend" : {
"description" : "主数据保存方式" ,
"type" : "string" ,
"default" : "json" ,
"options" : [
"json" ,
"sqlite"
] ,
"hint" : "json 为兼容旧模式,直接保存 companions.json;sqlite 为本地数据库模式,按 section 存储插件主数据。默认推荐先保持 json,确认稳定后再切换。"
} ,
"storage_sqlite_path" : {
"description" : "SQLite 数据文件路径" ,
"type" : "string" ,
"default" : "" ,
"hint" : "仅在保存方式为 sqlite 时使用。留空时自动使用插件数据目录下的 companions.db。建议填写本机绝对路径或保持留空。" ,
"condition" : {
"storage_backend" : "sqlite"
}
} ,
"enable_store_control_tag_sanitization" : {
"description" : "保存时清理非标准控制标签" ,
"type" : "bool" ,
"default" : true ,
"hint" : "开启后,在读取和保存陪伴数据时移除 <bubble/> 等模型误生成的非标准伪控制标签,避免它们再次进入上下文。原始群消息、成员原话和 Markdown 代码片段会保留;关闭后不清理其他持久化文本。消息正式发送时的出站安全过滤不受影响。"
} ,
"daily_token_limit" : {
"description" : "每日插件 Token 限额" ,
"type" : "int" ,
"hint" : "仅限制本插件内部发起的 LLM 任务,达到后会跳过日程、梦境、记忆整理、群聊分析、创作等后台模型调用。填 0 表示不限制。" ,
"default" : 1000000
} ,
"enable_daily_token_soft_limit" : {
"description" : "启用每日 Token 软限额" ,
"type" : "bool" ,
"hint" : "作为达到限额就停止插件/停止后台链路的替代方案。开启后,达到软限额时优先保留用户当下触发的回复,自动暂缓新闻、网页探索、创作、群聊整理、自检、主动生图等低优先级后台 LLM 任务。" ,
"default" : true
} ,
"daily_token_soft_limit" : {
"description" : "每日 Token 软限额" ,
"type" : "int" ,
"hint" : "今日插件内部 LLM 消耗达到该值后启用软降载;填 0 表示不启用软限额,只使用每日硬限额。" ,
"default" : 800000 ,
"condition" : "enable_daily_token_soft_limit"
} ,
"target_user_ids" : {
"description" : "私聊目标用户 ID" ,
"type" : "list" ,
"hint" : "填写后启动时会自动预热这些私聊对象。OneBot/aiocqhttp 通常填 QQ 号;QQ 官方机器人请填日志或私聊页显示的 openid/平台用户 ID。误粘贴私聊 UMO 时会自动提取 FriendMessage 后面的用户 ID。只想被动聊天也可以留空。" ,
"default" : [ ]
} ,
"private_user_aliases" : {
"description" : "私聊身份别名归并" ,
"type" : "text" ,
"hint" : "把临时会话 ID、异常 sender_id 或机器人侧误报 ID 归并到主用户 ID。每行一个映射,例如: 临时ID=主用户ID。别名只用于归并资料与记忆,不授予管理、主要用户或跨用户查询权限。留空则不归并。" ,
"default" : ""
} ,
"private_user_delivery_aliases" : {
"description" : "私聊主动发送目标映射" ,
"type" : "text" ,
"hint" : "只改变主动消息/主动测试的发送出口,不改变记忆归属。每行一个映射,可填写 主用户ID=投递用户ID;多 Bot 或 QQ 官方场景请优先粘贴 /sid 返回的完整 UMO,例如 主用户ID=Bot实例ID:FriendMessage:openid。配合“私聊身份别名归并”里的 openid=主用户ID 使用,即可让官方 Bot 收消息、主用户 ID 保留记忆。插件会优先复用实际收到或成功发送过的会话。" ,
"default" : ""
} ,
"target_platform" : {
"description" : "未见过用户的兜底平台" ,
"type" : "string" ,
"hint" : "只用于从未私聊过 Bot 的目标用户。收到真实消息后会按事件自动识别平台并保存真实会话;若对应类型只有一个运行实例,还会自动使用实例 ID。QQ/OneBot 通常为 aiocqhttp,QQ 官方机器人通常为 qq_official,不需要额外开启平台模式。" ,
"default" : "aiocqhttp"
} ,
"enable_environment_perception" : {
"description" : "启用环境感知" ,
"type" : "bool" ,
"hint" : "整合 LLMPerception 的核心能力:把当前时间、日期语境、平台、群聊/私聊和消息媒介作为回复背景注入。关闭后不注入这些环境信息。" ,
"default" : true
} ,
"environment_perception_timezone" : {
"description" : "环境感知时区" ,
"type" : "string" ,
"hint" : "默认 Asia/Shanghai。用于发送时间、时段和日期语境判断。" ,
"default" : "Asia/Shanghai" ,
"condition" : "enable_environment_perception"
} ,
"enable_holiday_perception" : {
"description" : "感知节假日/工作日" ,
"type" : "bool" ,
"hint" : "安装 chinese-calendar 时会识别中国节假日和调休;未安装时自动退化为周末/工作日判断。" ,
"default" : true ,
"condition" : "enable_environment_perception"
} ,
"holiday_country" : {
"description" : "节假日地区" ,
"type" : "string" ,
"hint" : "当前内置 CN。保留该项用于兼容 LLMPerception 的配置迁移。" ,
"default" : "CN" ,
"condition" : "enable_environment_perception"
} ,
"enable_platform_perception" : {
"description" : "感知平台与消息类型" ,
"type" : "bool" ,
"hint" : "识别 QQ/平台、私聊/群聊、群号/群名以及图片/语音/视频等消息组件。" ,
"default" : true ,
"condition" : "enable_environment_perception"
} ,
"enable_model_perception" : {
"description" : "感知当前模型配置" ,
"type" : "bool" ,
"hint" : "把当前会话 LLM、视觉转述、生图以及 TTS 合成 Provider/文本转换模型的可用性作为环境信息注入;TTS 同时包含语种、转换范围和交付方式。该信息只供 Bot 判断自身能力边界和表达方式,不要求主动报告模型名,也不会注入密钥、接口地址或音频路径。" ,
"default" : true ,
"condition" : "enable_environment_perception"
} ,
"enable_worldview_perception" : {
"description" : "感知世界观适配" ,
"type" : "bool" ,
"hint" : "把插件能力和生活语境转换成当前人设世界观能理解的说法。若 AstrBot 人设里已经写了完整世界观,建议保持关闭,避免重复注入。" ,
"default" : false ,
"condition" : "enable_environment_perception"
} ,
"enable_lunar_perception" : {
"description" : "感知农历" ,
"type" : "bool" ,
"hint" : "安装 lunarcalendar 时可注入农历日期;未安装时自动跳过。" ,
"default" : true ,
"condition" : "enable_environment_perception"
} ,
"enable_solar_term_perception" : {
"description" : "感知节气" ,
"type" : "bool" ,
"hint" : "注入当天或近三天内的二十四节气提示,供生活节奏和话题选择参考。" ,
"default" : true ,
"condition" : "enable_environment_perception"
} ,
"enable_almanac_perception" : {
"description" : "轻量黄历感知" ,
"type" : "bool" ,
"hint" : "生成轻量的宜/忌氛围标签,只用于风格参考。默认关闭,避免玄学感过强。" ,
"default" : false ,
"condition" : "enable_environment_perception"
} ,
"default_enable_configured_targets" : {
"description" : "启动时预热私聊目标" ,
"type" : "bool" ,
"hint" : "开启后 target_user_ids 中的用户会自动建立主动私聊来源。首次使用建议开启。" ,
"default" : true
} ,
"default_nickname" : {
"description" : "默认称呼" ,
"type" : "string" ,
"hint" : "用户未设置昵称时使用的称呼。" ,
"default" : "你"
} ,
"default_style" : {
"description" : "默认语气" ,
"type" : "string" ,
"hint" : "填写简短语气描述,例如温柔、活泼、工作感、校园风。用户可用“陪伴 语气”单独覆盖;该值只作为生成参考,不对应固定外发模板。" ,
"default" : "温柔"
} ,
"reply_style_prompt" : {
"description" : "回复风格提示词" ,
"type" : "text" ,
"hint" : "用于约束普通回复和主动消息的表达节奏。适合写回复句数、语言、口语化、简洁度等要求;复杂问题或用户要求详细说明时可允许模型放宽。" ,
"default" : "每次回复至多三句话;简单的回答尽可能保持在 1~2 句,并尽可能保持口语化与简洁化。回复长度和语气应该与当前对话节奏相匹配,必须使用简体中文进行回复,话语符合社交媒体交流习惯。当你需要解决复杂问题或进行详细说明时,可以无视这一要求。"
} ,
"enable_persona_voice_channels" : {
"description" : "启用分通道人格风格" ,
"type" : "bool" ,
"hint" : "开启后,插件会把人格标准化提取出的表达风格按对话、创作、计划、内心活动、主动开口五个通道分别注入对应链路,避免一种聊天口癖污染所有任务。" ,
"default" : true
} ,
"persona_conversation_voice_prompt" : {
"description" : "对话风格" ,
"type" : "text" ,
"hint" : "只用于私聊/群聊真正说出口的聊天回复。适合写口癖、句长、标点、接话方式和拒绝方式。" ,
"default" : ""
} ,
"persona_creative_voice_prompt" : {
"description" : "创作风格" ,
"type" : "text" ,
"hint" : "用于日记、QQ 空间、私下创作和文案。可以比聊天完整,但应避免 AI 作文、总结升华和营销文案腔。" ,
"default" : ""
} ,
"persona_planning_voice_prompt" : {
"description" : "计划风格" ,
"type" : "text" ,
"hint" : "用于日程、主动候选和行动倾向。它描述角色会如何安排自己、被什么驱动,不是聊天台词。" ,
"default" : ""
} ,
"persona_inner_voice_prompt" : {
"description" : "内心活动风格" ,
"type" : "text" ,
"hint" : "用于内部动机、念头和状态余波。默认不会外发,不能写成系统分析或工具说明。" ,
"default" : ""
} ,
"persona_proactive_voice_prompt" : {
"description" : "主动开口风格" ,
"type" : "text" ,
"hint" : "用于把主动动机变成最终开口。重点是具体由头、低压力、短句和可接话,不写成回复空气或任务汇报。" ,
"default" : ""
} ,
"worldview_adaptation_mode" : {
"description" : "世界观适配模式" ,
"type" : "string" ,
"hint" : "auto 会根据日程人设/世界观提示粗略判断现代、奇幻或科幻;也可以手动指定。只影响表达映射,不改变真实插件能力。" ,
"default" : "auto" ,
"options" : [
"auto" ,
"modern" ,
"fantasy" ,
"sci_fi" ,
"custom" ,
"off"
]
} ,
"worldview_adaptation_prompt" : {
"description" : "自定义世界观适配提示" ,
"type" : "string" ,
"hint" : "用于把现代能力翻译成当前人设能理解的说法,例如“异世界冒险者:群聊是酒馆/公会闲谈,视频是吟游诗人的影像记录,书柜是行囊书匣”。留空使用内置映射。" ,
"default" : ""
} ,
"quiet_hours" : {
"description" : "免打扰时间" ,
"type" : "string" ,
"hint" : "格式: HH:MM-HH:MM,例如 23:00-08:30。跨天时间段会自动处理。" ,
"default" : "23:00-08:30"
}
}
} ,
"enable_proactive_only_mode" : {
"description" : "Legacy flat config: 仅保留主动能力" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"bot_name" : {
"description" : "Legacy flat config: Bot 名字 / 页面展示名" ,
"type" : "string" ,
"default" : "小星" ,
"invisible" : true
} ,
"plugin_specific_persona_id" : {
"description" : "Legacy flat config: 插件指定人格 ID" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"LLM_PROVIDER_ID" : {
"description" : "Legacy flat config: 主模型 / 日程模型(留空用 AstrBot 默认)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"daily_token_limit" : {
"description" : "Legacy flat config: 每日插件 Token 限额" ,
"type" : "int" ,
"default" : 1000000 ,
"invisible" : true
} ,
"enable_daily_token_soft_limit" : {
"description" : "Legacy flat config: 启用每日 Token 软限额" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"daily_token_soft_limit" : {
"description" : "Legacy flat config: 每日 Token 软限额" ,
"type" : "int" ,
"default" : 800000 ,
"invisible" : true
} ,
"target_user_ids" : {
"description" : "Legacy flat config: 私聊目标用户 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"private_user_aliases" : {
"description" : "Legacy flat config: 私聊身份别名归并" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"private_user_delivery_aliases" : {
"description" : "Legacy flat config: 私聊主动发送目标映射" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"target_platform" : {
"description" : "Legacy flat config: 私聊目标平台名" ,
"type" : "string" ,
"default" : "aiocqhttp" ,
"invisible" : true
} ,
"enable_environment_perception" : {
"description" : "Legacy flat config: 启用环境感知" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"environment_perception_timezone" : {
"description" : "Legacy flat config: 环境感知时区" ,
"type" : "string" ,
"default" : "Asia/Shanghai" ,
"invisible" : true
} ,
"enable_holiday_perception" : {
"description" : "Legacy flat config: 感知节假日/工作日" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"holiday_country" : {
"description" : "Legacy flat config: 节假日地区" ,
"type" : "string" ,
"default" : "CN" ,
"invisible" : true
} ,
"enable_platform_perception" : {
"description" : "Legacy flat config: 感知平台与消息类型" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_model_perception" : {
"description" : "Legacy flat config: 感知当前模型配置" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_worldview_perception" : {
"description" : "Legacy flat config: 感知世界观适配" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_lunar_perception" : {
"description" : "Legacy flat config: 感知农历" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_solar_term_perception" : {
"description" : "Legacy flat config: 感知节气" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_almanac_perception" : {
"description" : "Legacy flat config: 轻量黄历感知" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"default_enable_configured_targets" : {
"description" : "Legacy flat config: 启动时预热私聊目标" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"default_nickname" : {
"description" : "Legacy flat config: 默认称呼" ,
"type" : "string" ,
"default" : "你" ,
"invisible" : true
} ,
"default_style" : {
"description" : "Legacy flat config: 默认语气" ,
"type" : "string" ,
"default" : "温柔" ,
"invisible" : true
} ,
"reply_style_prompt" : {
"description" : "Legacy flat config: 回复风格提示词" ,
"type" : "text" ,
"default" : "每次回复至多三句话;简单的回答尽可能保持在 1~2 句,并尽可能保持口语化与简洁化。回复长度和语气应该与当前对话节奏相匹配,必须使用简体中文进行回复,话语符合社交媒体交流习惯。当你需要解决复杂问题或进行详细说明时,可以无视这一要求。" ,
"invisible" : true
} ,
"enable_persona_voice_channels" : {
"description" : "Legacy flat config: 启用分通道人格风格" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"persona_conversation_voice_prompt" : {
"description" : "Legacy flat config: 对话风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"persona_creative_voice_prompt" : {
"description" : "Legacy flat config: 创作风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"persona_planning_voice_prompt" : {
"description" : "Legacy flat config: 计划风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"persona_inner_voice_prompt" : {
"description" : "Legacy flat config: 内心活动风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"persona_proactive_voice_prompt" : {
"description" : "Legacy flat config: 主动开口风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"worldview_adaptation_mode" : {
"description" : "Legacy flat config: 世界观适配模式" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"worldview_adaptation_prompt" : {
"description" : "Legacy flat config: 自定义世界观适配提示" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"quiet_hours" : {
"description" : "Legacy flat config: 免打扰时间" ,
"type" : "string" ,
"default" : "23:00-08:30" ,
"invisible" : true
} ,
"MAI_STYLE_PROVIDER_ID" : {
"description" : "Legacy flat config: 私聊互动策略通用模型(留空跟随主模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DAILY_PLAN_PROVIDER_ID" : {
"description" : "Legacy flat config: 日程生成模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DETAIL_ENHANCEMENT_PROVIDER_ID" : {
"description" : "Legacy flat config: 细节强化模型(留空跟随主模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DREAM_DIARY_PROVIDER_ID" : {
"description" : "Legacy flat config: 日记与梦境模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"CREATIVE_PROVIDER_ID" : {
"description" : "Legacy flat config: 私下创作模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"CREATIVE_OUTLINE_PROVIDER_ID" : {
"description" : "Legacy flat config: 创作大纲模型(留空跟随私下创作模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"CREATIVE_REVIEW_PROVIDER_ID" : {
"description" : "Legacy flat config: 创作审校/分析模型(留空跟随私下创作模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"VOICE_PROMPT_PROVIDER_ID" : {
"description" : "Legacy flat config: 主动语音文案文本模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"PHOTO_PROMPT_PROVIDER_ID" : {
"description" : "Legacy flat config: 主动生图提示词模型(留空跟随主模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"NARRATION_PROVIDER_ID" : {
"description" : "Legacy flat config: 工具结果转述模型(留空则不单独转述)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"HISTORY_SUMMARY_PROVIDER_ID" : {
"description" : "Legacy flat config: 昨日对话摘要模型(留空跟随日程模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"RESPONSE_REVIEW_PROVIDER_ID" : {
"description" : "Legacy flat config: 回复/主动复核模型(留空用默认)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"SMART_SILENCE_PROVIDER_ID" : {
"description" : "Legacy flat config: 智能沉默判定模型(留空跟随回复复核)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"TROUBLESHOOTING_PROVIDER_ID" : {
"description" : "Legacy flat config: 插件答疑/排障模型(留空优先使用复杂推理模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"RELATIONSHIP_ANALYSIS_PROVIDER_ID" : {
"description" : "Legacy flat config: 关系站位分析模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"EMOTION_JUDGEMENT_PROVIDER_ID" : {
"description" : "Legacy flat config: 情绪变化判断模型(留空自动回退)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"COMPANION_MEMORY_PROVIDER_ID" : {
"description" : "Legacy flat config: 陪伴长期画像整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DIALOGUE_EPISODE_PROVIDER_ID" : {
"description" : "Legacy flat config: 私聊片段记忆整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"GROUP_INTERJECT_PROVIDER_ID" : {
"description" : "Legacy flat config: 群聊主动插话模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"GROUP_EPISODE_PROVIDER_ID" : {
"description" : "Legacy flat config: 群聊片段记忆整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"GROUP_SLANG_PROVIDER_ID" : {
"description" : "Legacy flat config: 群内黑话释义模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"GROUP_FOLLOWUP_JUDGE_PROVIDER_ID" : {
"description" : "Legacy flat config: 群聊续接判断模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"FORWARD_MESSAGE_PROVIDER_ID" : {
"description" : "Legacy flat config: 合并消息转述模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"PLUGIN_VISION_PROVIDER_ID" : {
"description" : "Legacy flat config: 插件识图模型(私聊/合并消息/识屏)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"PRIVATE_READING_VISION_PROVIDER_ID" : {
"description" : "Legacy flat config: 夹层阅读视觉模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"max_daily_messages" : {
"description" : "Legacy flat config: 每日最多主动消息数" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"proactive_intensity_preset" : {
"description" : "Legacy flat config: 主动强度预设" ,
"type" : "string" ,
"default" : "off" ,
"invisible" : true
} ,
"enable_experimental_motivation_model" : {
"description" : "Legacy flat config: 启用驱力-诱因-唤醒调度" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_personality_iteration_experiment" : {
"description" : "Legacy flat config: 启用角色贴合校准" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_personality_iteration_auto_tune" : {
"description" : "Legacy flat config: 允许角色贴合校准自主调节参数" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"inbound_message_debounce_seconds" : {
"description" : "Legacy flat config: 重复消息防抖秒数" ,
"type" : "float" ,
"default" : 3 ,
"invisible" : true
} ,
"enable_recall_enhancement" : {
"description" : "Legacy flat config: 启用撤回增强" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_recall_cancel_reply" : {
"description" : "Legacy flat config: 撤回触发消息时取消回复" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_recall_message_cache" : {
"description" : "Legacy flat config: 缓存撤回消息用于转述" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_recall_transcribe_command" : {
"description" : "Legacy flat config: 允许命令转述撤回消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"recall_message_cache_ttl_seconds" : {
"description" : "Legacy flat config: 撤回消息缓存秒数" ,
"type" : "float" ,
"default" : 600 ,
"invisible" : true
} ,
"recall_message_cache_max_items" : {
"description" : "Legacy flat config: 撤回消息缓存上限" ,
"type" : "int" ,
"default" : 300 ,
"invisible" : true
} ,
"recall_message_image_cache_max_mb" : {
"description" : "Legacy flat config: 撤回图片磁盘缓存上限 MB" ,
"type" : "float" ,
"default" : 256 ,
"invisible" : true
} ,
"recall_message_cache_text_chars" : {
"description" : "Legacy flat config: 撤回缓存文本长度" ,
"type" : "int" ,
"default" : 500 ,
"invisible" : true
} ,
"enable_forbidden_word_recall" : {
"description" : "Legacy flat config: 违禁词自动撤回" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"recall_forbidden_words" : {
"description" : "Legacy flat config: 撤回违禁词表" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"recall_forbidden_scope" : {
"description" : "Legacy flat config: 违禁词撤回范围" ,
"type" : "string" ,
"default" : "bot_and_group" ,
"invisible" : true
} ,
"recall_forbidden_word_case_sensitive" : {
"description" : "Legacy flat config: 违禁词大小写敏感" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_message_debounce" : {
"description" : "Legacy flat config: 启用消息收口防抖" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_smart_message_debounce" : {
"description" : "Legacy flat config: 启用智能文本收口" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"SMART_MESSAGE_DEBOUNCE_PROVIDER_ID" : {
"description" : "Legacy flat config: 智能收口小模型 Provider ID" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"smart_message_debounce_model_timeout_seconds" : {
"description" : "Legacy flat config: 智能收口模型超时秒数" ,
"type" : "float" ,
"default" : 0.8 ,
"invisible" : true
} ,
"smart_message_debounce_wait_seconds" : {
"description" : "Legacy flat config: 智能收口等待秒数" ,
"type" : "float" ,
"default" : 3 ,
"invisible" : true
} ,
"smart_message_debounce_learning_window_seconds" : {
"description" : "Legacy flat config: 智能收口误判学习窗口" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"smart_message_debounce_examples_limit" : {
"description" : "Legacy flat config: 智能收口样本提示数量" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"text_message_debounce_seconds" : {
"description" : "Legacy flat config: 文本补话等待秒数" ,
"type" : "float" ,
"default" : 0 ,
"invisible" : true
} ,
"image_message_debounce_seconds" : {
"description" : "Legacy flat config: 图片补话等待秒数" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"forward_message_debounce_seconds" : {
"description" : "Legacy flat config: 转发补话等待秒数" ,
"type" : "float" ,
"default" : 0 ,
"invisible" : true
} ,
"text_message_debounce_max_wait_seconds" : {
"description" : "Legacy flat config: 文本收口最长等待秒数" ,
"type" : "float" ,
"default" : 12 ,
"invisible" : true
} ,
"message_debounce_max_merge_messages" : {
"description" : "Legacy flat config: 最大合并消息数" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"enable_semantic_message_debounce" : {
"description" : "Legacy flat config: 旧版语义收口开关" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"semantic_message_debounce_seconds" : {
"description" : "Legacy flat config: 旧版语义收口等待秒数" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"private_image_vision_wait_seconds" : {
"description" : "Legacy flat config: 单图延迟等待识图秒数" ,
"type" : "float" ,
"default" : 30 ,
"invisible" : true
} ,
"private_image_provider_timeout_seconds" : {
"description" : "Legacy flat config: 单个识图模型超时秒数" ,
"type" : "float" ,
"default" : 12 ,
"invisible" : true
} ,
"private_image_vision_provider_priority" : {
"description" : "Legacy flat config: 识图增强模型优先级" ,
"type" : "string" ,
"default" : "astrbot_first" ,
"invisible" : true
} ,
"enable_context_image_captioning" : {
"description" : "Legacy flat config: 上下文图片摘要补全" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"context_image_caption_max_items" : {
"description" : "Legacy flat config: 单轮上下文补全图片数" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"context_image_caption_timeout_seconds" : {
"description" : "Legacy flat config: 上下文图片补全等待秒数" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"enable_private_image_self_recognition" : {
"description" : "Legacy flat config: 启用图片转述增强" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_private_image_gif_enhancement" : {
"description" : "Legacy flat config: 启用 GIF 动图强化" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"private_image_gif_max_frames" : {
"description" : "Legacy flat config: GIF 表情包抽帧数" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"private_image_self_recognition_hint" : {
"description" : "Legacy flat config: 图片转述增强:识别当前角色自己的线索" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_private_image_vision_cache" : {
"description" : "Legacy flat config: 启用重复图片转述缓存" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"private_image_vision_cache_max_items" : {
"description" : "Legacy flat config: 重复图片转述缓存上限" ,
"type" : "int" ,
"default" : 300 ,
"invisible" : true
} ,
"enable_group_conversation_followup" : {
"description" : "Legacy flat config: 启用群聊连续对话保持" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_conversation_followup_seconds" : {
"description" : "Legacy flat config: 群聊上下文续接判断秒数" ,
"type" : "int" ,
"default" : 500 ,
"invisible" : true
} ,
"group_conversation_followup_max_turns" : {
"description" : "Legacy flat config: 群聊连续续接上限" ,
"type" : "int" ,
"default" : 1 ,
"invisible" : true
} ,
"enable_group_air_reply_guard" : {
"description" : "Legacy flat config: 启用群聊读空气防互刷" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_air_guard_window_seconds" : {
"description" : "Legacy flat config: 群聊读空气检测窗口秒数" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"group_air_guard_max_bot_replies" : {
"description" : "Legacy flat config: 群聊读空气窗口内最大 Bot 回复数" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"group_air_guard_polite_loop_limit" : {
"description" : "Legacy flat config: 群聊礼貌收尾循环上限" ,
"type" : "int" ,
"default" : 2 ,
"invisible" : true
} ,
"idle_minutes" : {
"description" : "Legacy flat config: 空闲多久后可主动问候(分钟)" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"min_interval_minutes" : {
"description" : "Legacy flat config: 同一用户最小主动间隔(分钟)" ,
"type" : "int" ,
"default" : 120 ,
"invisible" : true
} ,
"proactive_unanswered_slowdown_start" : {
"description" : "Legacy flat config: 未回应几次后开始降频" ,
"type" : "int" ,
"default" : 1 ,
"invisible" : true
} ,
"proactive_unanswered_max_interval_multiplier" : {
"description" : "Legacy flat config: 未回应最大间隔倍率" ,
"type" : "float" ,
"default" : 2.2 ,
"invisible" : true
} ,
"friend_unanswered_max_cooldown_hours" : {
"description" : "Legacy flat config: 次要用户未回应最长冷却(小时)" ,
"type" : "float" ,
"default" : 60 ,
"invisible" : true
} ,
"timer_pre_silence_minutes" : {
"description" : "Legacy flat config: 预约前静默窗口(分钟)" ,
"type" : "int" ,
"default" : 20 ,
"invisible" : true
} ,
"check_interval_seconds" : {
"description" : "Legacy flat config: 检查间隔(秒)" ,
"type" : "int" ,
"default" : 300 ,
"invisible" : true
} ,
"require_private_opt_in" : {
"description" : "Legacy flat config: 限制私聊命令管理入口" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_llm_proactive_message" : {
"description" : "Legacy flat config: 主动消息发送前调用 LLM 生成文本" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_proactive_chat_integration" : {
"description" : "Legacy flat config: 联动 Proactive Chat" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"proactive_chat_bridge_review_mode" : {
"description" : "Legacy flat config: Proactive Chat 联动复核模式" ,
"type" : "string" ,
"default" : "local" ,
"invisible" : true
} ,
"proactive_chat_bridge_collision_window_seconds" : {
"description" : "Legacy flat config: Proactive Chat 调度防撞窗口(秒)" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"proactive_prompt_template" : {
"description" : "Legacy flat config: 主动消息提示词模板" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"enable_llm_proactive_persona_judge" : {
"description" : "Legacy flat config: 主动计划人格/世界观判定" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"PROACTIVE_PERSONA_JUDGE_PROVIDER_ID" : {
"description" : "Legacy flat config: 主动人格判定模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"proactive_persona_judge_send_threshold" : {
"description" : "Legacy flat config: 主动人格判定放行阈值" ,
"type" : "int" ,
"default" : 62 ,
"invisible" : true
} ,
"proactive_persona_judge_cache_minutes" : {
"description" : "Legacy flat config: 主动人格判定缓存(分钟)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"proactive_persona_judge_max_daily" : {
"description" : "Legacy flat config: 主动人格判定每日模型上限" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"enable_maslow_motivation_experiment" : {
"description" : "Legacy flat config: 需求强化功能" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_maslow_schedule_influence" : {
"description" : "Legacy flat config: 需求强化影响日程" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"maslow_motivation_strength" : {
"description" : "Legacy flat config: 需求强化影响强度" ,
"type" : "int" ,
"default" : 35 ,
"invisible" : true
} ,
"proactive_reply_context_hours" : {
"description" : "Legacy flat config: 主动消息回复上下文保留时间(小时)" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"enable_proactive_decorating_hooks" : {
"description" : "Legacy flat config: 主动消息走装饰钩子" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_precise_platform_send" : {
"description" : "Legacy flat config: 主动消息优先使用精确平台发送" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_proactive_quote_trigger_message" : {
"description" : "Legacy flat config: 群回复/主动引用触发消息" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_quote_group_reply" : {
"description" : "Legacy flat config: 引用普通群回复触发消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"quote_group_reply_once_per_target" : {
"description" : "Legacy flat config: 连续同对象只首条引用" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_quote_group_interjection" : {
"description" : "Legacy flat config: 引用群主动插话触发消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_quote_private_proactive" : {
"description" : "Legacy flat config: 引用私聊主动触发消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"quote_skip_short_reply_chars" : {
"description" : "Legacy flat config: 短回复不引用阈值" ,
"type" : "int" ,
"default" : 0 ,
"invisible" : true
} ,
"quote_target_strategy" : {
"description" : "Legacy flat config: 引用目标策略" ,
"type" : "string" ,
"default" : "current" ,
"invisible" : true
} ,
"max_proactive_plan_lag_minutes" : {
"description" : "Legacy flat config: 主动候选过期重排时间(分钟)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"enable_daily_greetings" : {
"description" : "Legacy flat config: 启用早午晚锚点问候" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"greeting_idle_minutes" : {
"description" : "Legacy flat config: 问候前空闲门槛(分钟)" ,
"type" : "int" ,
"default" : 30 ,
"invisible" : true
} ,
"allow_insomnia_night_message" : {
"description" : "Legacy flat config: 允许失眠时深夜主动消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"proactive_share_probability" : {
"description" : "Legacy flat config: 主动分享可做事项概率" ,
"type" : "int" ,
"default" : 45 ,
"invisible" : true
} ,
"enable_creative_writing" : {
"description" : "Legacy flat config: 启用私下创作行为" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"creative_inspiration_probability" : {
"description" : "Legacy flat config: 创作灵感触发概率" ,
"type" : "float" ,
"default" : 0.2 ,
"invisible" : true
} ,
"creative_share_probability" : {
"description" : "Legacy flat config: 小说节点透露概率" ,
"type" : "float" ,
"default" : 0.28 ,
"invisible" : true
} ,
"creative_chars_per_session" : {
"description" : "Legacy flat config: 每次创作字数" ,
"type" : "int" ,
"default" : 220 ,
"invisible" : true
} ,
"creative_max_active_projects" : {
"description" : "Legacy flat config: 最多同时创作项目数" ,
"type" : "int" ,
"default" : 2 ,
"invisible" : true
} ,
"creative_hidden_mode" : {
"description" : "Legacy flat config: 创作默认低调进行" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"creative_direction_prompt" : {
"description" : "Legacy flat config: 创作方向提示词" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"enable_skill_growth_simulation" : {
"description" : "Legacy flat config: 启用技能成长模拟" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_personal_goals" : {
"description" : "Legacy flat config: 启用非创作型个人目标" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_personal_goal_auto_progress" : {
"description" : "Legacy flat config: 日程完成后自动推进个人目标" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"personal_goal_share_cooldown_hours" : {
"description" : "Legacy flat config: 个人目标主动分享冷却小时" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"personal_goal_stall_days" : {
"description" : "Legacy flat config: 个人目标停滞天数" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"skill_growth_rate" : {
"description" : "Legacy flat config: 技能成长倍率" ,
"type" : "float" ,
"default" : 1.0 ,
"invisible" : true
} ,
"skill_growth_custom_skills" : {
"description" : "Legacy flat config: 自定义技能列表(兼容旧配置)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_skill_growth_passive_injection" : {
"description" : "Legacy flat config: 被动回复技能认知" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_skill_growth_schedule_influence" : {
"description" : "Legacy flat config: 技能约束日程表现" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"skill_growth_schedule_influence_strength" : {
"description" : "Legacy flat config: 技能约束强度" ,
"type" : "float" ,
"default" : 0.35 ,
"invisible" : true
} ,
"enable_mai_style_integration" : {
"description" : "Legacy flat config: 启用私聊互动策略" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_companion_memory" : {
"description" : "Legacy flat config: 启用用户陪伴记忆" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"memory_refresh_interval_minutes" : {
"description" : "Legacy flat config: 长期画像整理间隔(分钟)" ,
"type" : "int" ,
"default" : 360 ,
"invisible" : true
} ,
"max_companion_memory_items" : {
"description" : "Legacy flat config: 最多保留陪伴记忆条数" ,
"type" : "int" ,
"default" : 36 ,
"invisible" : true
} ,
"enable_expression_learning" : {
"description" : "Legacy flat config: 启用表达方式学习" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"expression_learning_mode" : {
"description" : "Legacy flat config: 表达学习模式" ,
"type" : "string" ,
"default" : "balanced" ,
"invisible" : true
} ,
"enable_expression_manual_review" : {
"description" : "Legacy flat config: 观察素材手动审核(模型表达规则始终需要审核)" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_expression_style_review" : {
"description" : "Legacy flat config: 表达学习发送前审核" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"max_learned_expression_items" : {
"description" : "Legacy flat config: 每个来源保留的表达规则与观察素材上限" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"expression_private_learning_source_mode" : {
"description" : "Legacy flat config: 私聊表达学习来源范围" ,
"type" : "string" ,
"default" : "owner" ,
"invisible" : true
} ,
"expression_private_learning_source_ids" : {
"description" : "Legacy flat config: 私聊表达学习来源 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"expression_group_learning_source_mode" : {
"description" : "Legacy flat config: 群聊表达学习来源范围" ,
"type" : "string" ,
"default" : "disabled" ,
"invisible" : true
} ,
"expression_group_learning_source_ids" : {
"description" : "Legacy flat config: 群聊表达学习来源 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"expression_group_learning_daily_batch_limit" : {
"description" : "Legacy flat config: 群聊表达语义归纳每日批次上限" ,
"type" : "int" ,
"default" : 6 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 50 ,
"step" : 1
} ,
2026-07-24 00:25:43 +08:00
"invisible" : true
} ,
"expression_group_learning_min_new_messages" : {
"description" : "Legacy flat config: 群聊表达语义归纳最少新增消息数" ,
"type" : "int" ,
"default" : 20 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 5 ,
"max" : 80 ,
"step" : 5
} ,
2026-07-24 00:25:43 +08:00
"invisible" : true
} ,
"expression_private_application_mode" : {
"description" : "Legacy flat config: 私聊表达应用范围" ,
"type" : "string" ,
"default" : "all" ,
"invisible" : true
} ,
"expression_private_application_user_ids" : {
"description" : "Legacy flat config: 私聊表达应用对象 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"expression_group_application_mode" : {
"description" : "Legacy flat config: 群聊表达应用范围" ,
"type" : "string" ,
"default" : "all" ,
"invisible" : true
} ,
"expression_group_application_ids" : {
"description" : "Legacy flat config: 群聊表达应用对象 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"enable_user_habit_learning" : {
"description" : "Legacy flat config: 启用用户习惯画像" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"user_habit_min_count" : {
"description" : "Legacy flat config: 习惯成型次数" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"user_habit_max_items" : {
"description" : "Legacy flat config: 习惯条目上限" ,
"type" : "int" ,
"default" : 24 ,
"invisible" : true
} ,
"enable_intent_emotion_analysis" : {
"description" : "Legacy flat config: 启用本地意图/情绪快判" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_relationship_state_machine" : {
"description" : "Legacy flat config: 启用关系距离感" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_relationship_analysis" : {
"description" : "Legacy flat config: 启用模型关系站位分析" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_emotion_simulation" : {
"description" : "Legacy flat config: 启用情绪模拟" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_llm_emotion_judgement" : {
"description" : "Legacy flat config: 启用模型复核情绪变化" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"emotion_judgement_mode" : {
"description" : "Legacy flat config: 模型复核范围" ,
"type" : "string" ,
"default" : "suspicious" ,
"invisible" : true
} ,
"emotional_gate_hurt_threshold" : {
"description" : "Legacy flat config: 伤心触发阈值" ,
"type" : "int" ,
"default" : 70 ,
"invisible" : true
} ,
"emotional_gate_refuse_threshold" : {
"description" : "Legacy flat config: 生气触发阈值" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"emotional_gate_recovery_per_hour" : {
"description" : "Legacy flat config: 每小时缓和量" ,
"type" : "int" ,
"default" : 24 ,
"invisible" : true
} ,
"emotional_gate_max_hurt_minutes" : {
"description" : "Legacy flat config: 最长收敛分钟" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"enable_response_self_review" : {
"description" : "Legacy flat config: 旧版回复/主动复核总开关" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_passive_response_review" : {
"description" : "Legacy flat config: 启用被动回复复核" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_framework_error_leak_guard" : {
"description" : "Legacy flat config: 拦截框架异常文本外发" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_proactive_message_review" : {
"description" : "Legacy flat config: proactive final content gate" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_smart_silence" : {
"description" : "Legacy flat config: 启用智能沉默" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"smart_silence_judge_mode" : {
"description" : "Legacy flat config: 智能沉默判断模式" ,
"type" : "string" ,
"default" : "boundary_only" ,
"options" : [
"boundary_only" ,
"contextual"
] ,
"invisible" : true
} ,
"smart_silence_min_confidence" : {
"description" : "Legacy flat config: 智能沉默最低置信度" ,
"type" : "float" ,
"default" : 0.66 ,
"invisible" : true
} ,
"smart_silence_model_timeout_seconds" : {
"description" : "Legacy flat config: 智能沉默模型超时秒数" ,
"type" : "float" ,
"default" : 1.2 ,
"invisible" : true
} ,
"response_review_mode" : {
"description" : "Legacy flat config: 旧版回复复核模式" ,
"type" : "string" ,
"default" : "severe_only" ,
"invisible" : true
} ,
"passive_review_mode" : {
"description" : "Legacy flat config: 被动回复复核模式" ,
"type" : "string" ,
"default" : "severe_only" ,
"invisible" : true
} ,
"passive_review_strength" : {
"description" : "Legacy flat config: 被动回复复核强度" ,
"type" : "string" ,
"default" : "lenient" ,
"invisible" : true
} ,
"proactive_review_mode" : {
"description" : "Legacy flat config: 主动消息终审模式" ,
"type" : "string" ,
"default" : "full" ,
"invisible" : true
} ,
"proactive_review_strength" : {
"description" : "Legacy flat config: 主动发送前复核强度" ,
"type" : "string" ,
"default" : "lenient" ,
"invisible" : true
} ,
"proactive_review_hard_risk_threshold" : {
"description" : "Legacy flat config: 主动复核硬拦截风险阈值" ,
"type" : "float" ,
"default" : 0.7 ,
"invisible" : true
} ,
"proactive_review_low_score_threshold" : {
"description" : "Legacy flat config: 主动复核低价值分数阈值" ,
"type" : "float" ,
"default" : 0.34 ,
"invisible" : true
} ,
"proactive_review_pressure_threshold" : {
"description" : "Legacy flat config: 主动复核打扰压力阈值" ,
"type" : "float" ,
"default" : 0.55 ,
"invisible" : true
} ,
"response_review_max_chars" : {
"description" : "Legacy flat config: 被动 full 模式长度阈值" ,
"type" : "int" ,
"default" : 260 ,
"invisible" : true
} ,
"enable_passive_topic_suppression" : {
"description" : "Legacy flat config: 启用普通回复重复话题抑制" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"passive_topic_memory_hours" : {
"description" : "Legacy flat config: 普通回复话题记忆时长(小时)" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"enable_dialogue_episode_memory" : {
"description" : "Legacy flat config: 启用对话片段记忆" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"episode_memory_refresh_messages" : {
"description" : "Legacy flat config: 对话片段整理消息数阈值" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"episode_memory_refresh_minutes" : {
"description" : "Legacy flat config: 对话片段整理时间阈值(分钟)" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"max_dialogue_episodes" : {
"description" : "Legacy flat config: 最多保留对话片段数量" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"enable_open_loop_tracking" : {
"description" : "Legacy flat config: 启用未完成约定追踪" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"memory_companion_context_timeout_seconds" : {
"description" : "Legacy flat config: 记忆上下文超时(秒)" ,
"type" : "float" ,
"default" : 1.2 ,
"invisible" : true
} ,
"enable_memory_companion_emotional_drift" : {
"description" : "Legacy flat config: 情绪漂移联动" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_memory_companion_cross_window_emotion" : {
"description" : "Legacy flat config: 跨窗口情绪连续性" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_memory_companion_dream_fragment" : {
"description" : "Legacy flat config: 梦境碎片写入" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_memory_companion_open_loop_search" : {
"description" : "Legacy flat config: 未完成话题取材" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_memory_companion_feature_context" : {
"description" : "Legacy flat config: 功能上下文读取" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_memory_companion_private_recall" : {
"description" : "Legacy flat config: 私聊选择性长期召回" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"memory_companion_context_top_k" : {
"description" : "Legacy flat config: 上下文召回条数" ,
"type" : "int" ,
"default" : 5 ,
"invisible" : true
} ,
"memory_companion_context_max_chars" : {
"description" : "Legacy flat config: 上下文最大字符数" ,
"type" : "int" ,
"default" : 900 ,
"invisible" : true
} ,
"NEWS_PROVIDER_ID" : {
"description" : "Legacy flat config: 新闻整理模型(留空跟随主动转述/主模型)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_web_exploration" : {
"description" : "Legacy flat config: 启用主动搜索" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_web_exploration_boredom_search" : {
"description" : "Legacy flat config: 空档时自主搜索" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_private_reading_integration" : {
"description" : "Legacy flat config: 启用夹层阅读素材" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_private_reading_boredom_read" : {
"description" : "Legacy flat config: 空闲时私下阅读" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_private_reading_ask_recommendation" : {
"description" : "Legacy flat config: 向用户征求推荐" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_private_reading_preference_influence" : {
"description" : "Legacy flat config: 评分偏好影响私聊" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"private_reading_preference_min_ratings" : {
"description" : "Legacy flat config: 偏好生效最少评分数" ,
"type" : "int" ,
"default" : 5 ,
"invisible" : true
} ,
"private_reading_preference_max_terms" : {
"description" : "Legacy flat config: 偏好注入最多词条" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"private_reading_min_interval_hours" : {
"description" : "Legacy flat config: 夹层阅读最小间隔(小时)" ,
"type" : "int" ,
"default" : 18 ,
"invisible" : true
} ,
"private_reading_max_photo_count" : {
"description" : "Legacy flat config: 夹层阅读页数上限" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"private_reading_share_probability" : {
"description" : "Legacy flat config: 阅读后主动提起概率" ,
"type" : "float" ,
"default" : 0.18 ,
"invisible" : true
} ,
"private_reading_ask_probability" : {
"description" : "Legacy flat config: 征求推荐触发概率" ,
"type" : "float" ,
"default" : 0.16 ,
"invisible" : true
} ,
"private_reading_default_keywords" : {
"description" : "Legacy flat config: 夹层阅读默认搜索关键词" ,
"type" : "string" ,
"default" : "纯爱,恋爱,同人" ,
"invisible" : true
} ,
"private_reading_blocked_tags" : {
"description" : "Legacy flat config: 夹层阅读过滤标签" ,
"type" : "string" ,
"default" : "連載中,長篇,青年漫" ,
"invisible" : true
} ,
"enable_group_companion" : {
"description" : "Legacy flat config: 启用群聊陪伴观察" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_image_understanding" : {
"description" : "Legacy flat config: 群聊图片理解增强" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"group_image_vision_wait_seconds" : {
"description" : "Legacy flat config: 群聊回复等待图片理解秒数" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"group_image_max_images" : {
"description" : "Legacy flat config: 单条群消息识图上限" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"group_access_mode" : {
"description" : "Legacy flat config: 群聊启用模式" ,
"type" : "string" ,
"default" : "whitelist" ,
"invisible" : true
} ,
"group_whitelist_ids" : {
"description" : "Legacy flat config: 群聊陪伴白名单群号" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"group_blacklist_ids" : {
"description" : "Legacy flat config: 群聊陪伴黑名单群号" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"enable_group_context_injection" : {
"description" : "Legacy flat config: 群聊回复前注入观察上下文" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_injection_guard" : {
"description" : "Legacy flat config: 群聊防注入" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_persona_denoise" : {
"description" : "Legacy flat config: 群聊人格降噪" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_forward_message_adaptation" : {
"description" : "Legacy flat config: 启用合并消息自然阅读" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"forward_message_mode" : {
"description" : "Legacy flat config: 合并消息适配方式" ,
"type" : "string" ,
"default" : "inject" ,
"invisible" : true
} ,
"forward_message_max_messages" : {
"description" : "Legacy flat config: 合并消息最多读取条数" ,
"type" : "int" ,
"default" : 80 ,
"invisible" : true
} ,
"forward_message_max_chars" : {
"description" : "Legacy flat config: 合并消息注入字数上限" ,
"type" : "int" ,
"default" : 5000 ,
"invisible" : true
} ,
"forward_message_parse_nested" : {
"description" : "Legacy flat config: 展开嵌套合并消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"forward_message_image_vision" : {
"description" : "Legacy flat config: 合并消息图片交给视觉模型" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"forward_message_image_limit" : {
"description" : "Legacy flat config: 合并消息视觉图片上限" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"forward_message_image_vision_timeout_seconds" : {
"description" : "Legacy flat config: 合并消息图片视觉等待秒数" ,
"type" : "float" ,
"default" : 6 ,
"invisible" : true
} ,
"enable_group_scene_awareness" : {
"description" : "Legacy flat config: 启用群聊场景感知" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_scene_recent_limit" : {
"description" : "Legacy flat config: 场景感知最近消息数" ,
"type" : "int" ,
"default" : 5 ,
"invisible" : true
} ,
"enable_group_reality_promise_guard" : {
"description" : "Legacy flat config: 阻止群聊现实承诺" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_wakeup_enhancement" : {
"description" : "Legacy flat config: 启用群聊唤醒强化" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_wakeup_direct_words" : {
"description" : "Legacy flat config: 强唤醒词" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"group_wakeup_owner_direct_words" : {
"description" : "Legacy flat config: 主要用户专属强唤醒词" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"group_wakeup_context_words" : {
"description" : "Legacy flat config: 弱相关唤醒词" ,
"type" : "list" ,
"default" : [
"机器人" ,
"bot"
] ,
"invisible" : true
} ,
"group_wakeup_interest_keywords" : {
"description" : "Legacy flat config: 手动兴趣关键词" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"group_wakeup_interest_probability" : {
"description" : "Legacy flat config: 兴趣唤醒概率" ,
"type" : "int" ,
"default" : 18 ,
"invisible" : true
} ,
"enable_group_wakeup_question" : {
"description" : "Legacy flat config: 启用解惑唤醒" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_wakeup_question_threshold" : {
"description" : "Legacy flat config: 解惑强度阈值" ,
"type" : "int" ,
"default" : 65 ,
"invisible" : true
} ,
"enable_group_wakeup_cold_group" : {
"description" : "Legacy flat config: 启用冷群唤醒" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"group_wakeup_cold_group_threshold" : {
"description" : "Legacy flat config: 冷群强度阈值" ,
"type" : "int" ,
"default" : 65 ,
"invisible" : true
} ,
"group_wakeup_cold_group_idle_minutes" : {
"description" : "Legacy flat config: 冷群判定分钟" ,
"type" : "int" ,
"default" : 25 ,
"invisible" : true
} ,
"group_wakeup_cooldown_seconds" : {
"description" : "Legacy flat config: 唤醒冷却秒数" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"group_wakeup_generated_keyword_limit" : {
"description" : "Legacy flat config: 自动兴趣词上限" ,
"type" : "int" ,
"default" : 24 ,
"invisible" : true
} ,
"group_wakeup_topic_interest_max_boost" : {
"description" : "Legacy flat config: 话题兴趣权重上限" ,
"type" : "int" ,
"default" : 45 ,
"invisible" : true
} ,
"group_wakeup_debounce_pending_penalty" : {
"description" : "Legacy flat config: 收口等待兴趣降权" ,
"type" : "int" ,
"default" : 65 ,
"invisible" : true
} ,
"group_wakeup_fatigue_limit" : {
"description" : "Legacy flat config: 唤醒疲劳阈值" ,
"type" : "int" ,
"default" : 5 ,
"invisible" : true
} ,
"group_wakeup_fatigue_decay_minutes" : {
"description" : "Legacy flat config: 唤醒疲劳恢复分钟" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"group_wakeup_log_limit" : {
"description" : "Legacy flat config: 唤醒记录上限" ,
"type" : "int" ,
"default" : 80 ,
"invisible" : true
} ,
"group_wakeup_short_text_wait_seconds" : {
"description" : "Legacy flat config: 短唤醒补话等待秒数" ,
"type" : "float" ,
"default" : 15 ,
"invisible" : true
} ,
"enable_group_high_intensity_mode" : {
"description" : "Legacy flat config: 群聊高强度收口模式" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_high_intensity_wakeup_window_seconds" : {
"description" : "Legacy flat config: 高强度统计窗口秒数" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"group_high_intensity_wakeup_threshold" : {
"description" : "Legacy flat config: 高强度唤醒阈值" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"group_high_intensity_cooldown_seconds" : {
"description" : "Legacy flat config: 高强度收口持续秒数" ,
"type" : "int" ,
"default" : 150 ,
"invisible" : true
} ,
"group_high_intensity_merge_seconds" : {
"description" : "Legacy flat config: 高强度合并等待秒数" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"group_high_intensity_max_merge_messages" : {
"description" : "Legacy flat config: 高强度最大合并消息数" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"group_high_intensity_merge_scope" : {
"description" : "Legacy flat config: 高强度合并范围" ,
"type" : "string" ,
"default" : "group" ,
"invisible" : true
} ,
"enable_group_slang_learning" : {
"description" : "Legacy flat config: 启用群内黑话/梗学习" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_member_profiles" : {
"description" : "Legacy flat config: 启用群内成员观察" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_topic_threads" : {
"description" : "Legacy flat config: 启用群聊话题线程" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_episode_memory" : {
"description" : "Legacy flat config: 启用群聊片段记忆" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_slang_meanings" : {
"description" : "Legacy flat config: 启用群内黑话语义解释" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_slang_web_search" : {
"description" : "Legacy flat config: 黑话释义联网参考" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"group_slang_web_search_terms" : {
"description" : "Legacy flat config: 黑话联网候选扫描数" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"group_slang_web_search_results" : {
"description" : "Legacy flat config: 每词搜索摘要条数" ,
"type" : "int" ,
"default" : 2 ,
"invisible" : true
} ,
"enable_group_relationship_graph" : {
"description" : "Legacy flat config: 启用群友互动图" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_group_privacy_guard" : {
"description" : "Legacy flat config: 启用群聊隐私防串味边界" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_worldbook_member_recognition" : {
"description" : "Legacy flat config: 启用群聊关系网" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"worldbook_auto_import" : {
"description" : "Legacy flat config: 启动时自动刷新关系网" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"worldbook_member_match_aliases" : {
"description" : "Legacy flat config: 允许称呼辅助匹配" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"worldbook_self_registration" : {
"description" : "Legacy flat config: 允许群聊自登记节点" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"worldbook_self_registration_block_words" : {
"description" : "Legacy flat config: 自登记拒绝词" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"worldbook_self_registration_block_reply" : {
"description" : "Legacy flat config: 自登记拒绝回复" ,
"type" : "string" ,
"default" : "这个称呼我不记。" ,
"invisible" : true
} ,
"worldbook_auto_pending_observations" : {
"description" : "Legacy flat config: 低频生成待确认观察" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"worldbook_member_inject_limit" : {
"description" : "Legacy flat config: 关系节点单次注入上限" ,
"type" : "int" ,
"default" : 6 ,
"invisible" : true
} ,
"worldbook_config_paths" : {
"description" : "Legacy flat config: 关系网配置文件路径" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_atrelay_tools" : {
"description" : "Legacy flat config: 启用跨群转述与 @ 群友工具" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_cross_user_memory_bridge" : {
"description" : "Legacy flat config: 启用跨用户记忆互通" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"cross_user_memory_owner_only" : {
"description" : "Legacy flat config: 仅主要用户可查询跨用户互动" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"atrelay_require_worldbook_first" : {
"description" : "Legacy flat config: 优先使用关系网解析 @ 对象" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"atrelay_member_cache_minutes" : {
"description" : "Legacy flat config: 群成员列表缓存分钟" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"atrelay_sensitive_confirm" : {
"description" : "Legacy flat config: 敏感转述发送前确认" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_atrelay_llm_rewrite" : {
"description" : "Legacy flat config: 使用模型转述正文" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"atrelay_default_relay_style" : {
"description" : "Legacy flat config: 默认转述方式" ,
"type" : "string" ,
"default" : "persona" ,
"invisible" : true
} ,
"atrelay_multi_target_limit" : {
"description" : "Legacy flat config: 多目标转述单次上限" ,
"type" : "int" ,
"default" : 5 ,
"invisible" : true
} ,
"max_group_recent_messages" : {
"description" : "Legacy flat config: 群聊最近消息保留数" ,
"type" : "int" ,
"default" : 80 ,
"invisible" : true
} ,
"max_group_slang_terms" : {
"description" : "Legacy flat config: 群内常见词保留数" ,
"type" : "int" ,
"default" : 40 ,
"invisible" : true
} ,
"max_group_topic_threads" : {
"description" : "Legacy flat config: 最多保留群聊话题线程数" ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"group_episode_refresh_minutes" : {
"description" : "Legacy flat config: 群聊片段整理间隔(分钟)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"group_slang_summary_minutes" : {
"description" : "Legacy flat config: 群内黑话语义整理间隔(分钟)" ,
"type" : "int" ,
"default" : 360 ,
"invisible" : true
} ,
"max_group_episodes" : {
"description" : "Legacy flat config: 最多保留群聊片段数量" ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"max_group_relationship_edges" : {
"description" : "Legacy flat config: 最多保留群友互动边" ,
"type" : "int" ,
"default" : 80 ,
"invisible" : true
} ,
"enable_group_interjection" : {
"description" : "Legacy flat config: 允许群聊主动插话" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_group_repeat_follow" : {
"description" : "Legacy flat config: 允许群聊复读跟读" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"group_repeat_count_distinct_users_only" : {
"description" : "Legacy flat config: 复读只计不同用户" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"group_repeat_trigger_threshold" : {
"description" : "Legacy flat config: 复读触发阈值" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"group_repeat_follow_probability" : {
"description" : "Legacy flat config: 复读跟读初始概率(%) " ,
"type" : "int" ,
"default" : 18 ,
"invisible" : true
} ,
"group_repeat_interrupt_probability" : {
"description" : "Legacy flat config: 复读打断初始概率(%) " ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"group_repeat_interrupt_probability_step" : {
"description" : "Legacy flat config: 复读概率共同递增(%) " ,
"type" : "int" ,
"default" : 12 ,
"invisible" : true
} ,
"group_repeat_interrupt_text" : {
"description" : "Legacy flat config: 复读打断文本" ,
"type" : "string" ,
"default" : "禁止复读" ,
"invisible" : true
} ,
"group_repeat_interrupt_image_path" : {
"description" : "Legacy flat config: 复读打断表情包路径" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"group_interject_min_interval_minutes" : {
"description" : "Legacy flat config: 群聊主动插话最小间隔(分钟)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"group_interject_max_daily" : {
"description" : "Legacy flat config: 每群每日最多主动插话次数" ,
"type" : "int" ,
"default" : 2 ,
"invisible" : true
} ,
"enable_group_interjection_feedback" : {
"description" : "Legacy flat config: 启用群聊插话反馈学习" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_daily_plan" : {
"description" : "Legacy flat config: 启用每日拟人化日程" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"daily_plan_time" : {
"description" : "Legacy flat config: 每日生成日程时间" ,
"type" : "string" ,
"default" : "07:30" ,
"invisible" : true
} ,
"daily_plan_item_count" : {
"description" : "Legacy flat config: 每日日程条目数" ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"schedule_persona_prompt" : {
"description" : "Legacy flat config: 日程专用角色设定" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"schedule_worldview_prompt" : {
"description" : "Legacy flat config: 日程专用世界观/生活背景" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"roleplay_user_profile_prompt" : {
"description" : "Legacy flat config: 角色设定:用户与关系补充" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"roleplay_knowledge_source_ids" : {
"description" : "Legacy flat config: 角色设定: AstrBot 知识库选择" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"include_schedule_in_messages" : {
"description" : "Legacy flat config: 允许主动消息偶尔带上当前日程背景" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"daily_plan_prompt" : {
"description" : "Legacy flat config: 自定义每日日程提示词" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"enable_detail_enhancement" : {
"description" : "Legacy flat config: 启用日程细节强化模式" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"detail_enhancement_lead_minutes" : {
"description" : "Legacy flat config: 提前强化日程段(分钟)" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"enable_daily_diary" : {
"description" : "Legacy flat config: 启用每日 Bot 日记" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"daily_diary_time" : {
"description" : "Legacy flat config: 每日写日记时间" ,
"type" : "string" ,
"default" : "23:10" ,
"invisible" : true
} ,
"max_diary_entries" : {
"description" : "Legacy flat config: 保留 Bot 日记数量" ,
"type" : "int" ,
"default" : 14 ,
"invisible" : true
} ,
"important_date_lookahead_days" : {
"description" : "Legacy flat config: 重要日期默认提前提醒天数" ,
"type" : "int" ,
"default" : 7 ,
"invisible" : true
} ,
"enable_humanized_states" : {
"description" : "Legacy flat config: 启用拟人化身体/梦境状态" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_health_state" : {
"description" : "Legacy flat config: 启用健康/不适状态" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_hunger_state" : {
"description" : "Legacy flat config: 启用饥饿/胃口状态" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"inject_passive_states" : {
"description" : "Legacy flat config: 被动回复前注入拟人状态" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_passive_state_delta_injection" : {
"description" : "Legacy flat config: 被动状态增量注入" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"passive_injection_position" : {
"description" : "Legacy flat config: 动态提示词注入位置" ,
"type" : "string" ,
"default" : "prompt" ,
"invisible" : true
} ,
"enable_cycle_state" : {
"description" : "Legacy flat config: 启用生理期模拟" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"humanized_state_intensity" : {
"description" : "Legacy flat config: 拟人状态强度" ,
"type" : "int" ,
"default" : 50 ,
"invisible" : true
} ,
"enable_rest_reply_simulation" : {
"description" : "Legacy flat config: 启用休息回复闸门" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"rest_reply_mode" : {
"description" : "Legacy flat config: 休息回复判定模式" ,
"type" : "string" ,
"default" : "probability" ,
"invisible" : true
} ,
"rest_reply_probability" : {
"description" : "Legacy flat config: 休息中概率回复(%) " ,
"type" : "int" ,
"default" : 18 ,
"invisible" : true
} ,
"rest_reply_llm_threshold" : {
"description" : "Legacy flat config: 模型醒来阈值" ,
"type" : "int" ,
"default" : 65 ,
"invisible" : true
} ,
"rest_reply_active_windows" : {
"description" : "Legacy flat config: 休息闸门生效时段" ,
"type" : "string" ,
"default" : "23:00-08:30,12:20-13:40" ,
"invisible" : true
} ,
"rest_reply_awake_grace_minutes" : {
"description" : "Legacy flat config: 被叫醒后的免重判分钟数" ,
"type" : "int" ,
"default" : 30 ,
"invisible" : true
} ,
"enable_rest_backlog_reply" : {
"description" : "Legacy flat config: 醒后补看私聊" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"rest_backlog_max_messages" : {
"description" : "Legacy flat config: 醒后最多补看条数" ,
"type" : "int" ,
"default" : 4 ,
"invisible" : true
} ,
"REST_WAKEUP_PROVIDER_ID" : {
"description" : "Legacy flat config: 休息醒来判断模型ID" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_busy_reply_gate" : {
"description" : "Legacy flat config: 启用繁忙回复闸门" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"busy_reply_min_delay_seconds" : {
"description" : "Legacy flat config: 繁忙回复最短延迟秒数" ,
"type" : "int" ,
"default" : 60 ,
"invisible" : true
} ,
"busy_reply_max_delay_seconds" : {
"description" : "Legacy flat config: 繁忙回复最长延迟秒数" ,
"type" : "int" ,
"default" : 300 ,
"invisible" : true
} ,
"busy_reply_proactive_resume_buffer_minutes" : {
"description" : "Legacy flat config: 忙完后主动消息缓冲分钟数" ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"enable_enhanced_dreams" : {
"description" : "Legacy flat config: 启用强化梦境生成" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"dream_afterglow_mode" : {
"description" : "Legacy flat config: 梦境余韵影响强度" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"enable_mixed_dream_themes" : {
"description" : "Legacy flat config: 允许梦境题材轻微混搭" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"enable_intimate_dream_theme" : {
"description" : "Legacy flat config: 允许暧昧/春梦题材" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"dream_theme_candidates" : {
"description" : "Legacy flat config: 梦境题材候选(逗号分隔)" ,
"type" : "string" ,
"default" : "温柔日常,奇幻,恐怖,追逐,悬疑,荒诞,怀旧,暧昧春梦" ,
"invisible" : true
} ,
"enable_photo_text_action" : {
"description" : "Legacy flat config: 允许主动拍照/生图" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"photo_action_max_daily" : {
"description" : "Legacy flat config: 每日主动生图最多次数" ,
"type" : "int" ,
"default" : 1 ,
"invisible" : true
} ,
"proactive_photo_text_probability" : {
"description" : "Legacy flat config: 主动带图触发概率" ,
"type" : "int" ,
"default" : 18 ,
"invisible" : true
} ,
"photo_generation_backend" : {
"description" : "Legacy flat config: 主动生图后端" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"custom_photo_tool_name" : {
"description" : "Legacy flat config: 自定义生图函数工具名" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"custom_photo_tool_prompt_param" : {
"description" : "Legacy flat config: 生图工具提示词参数名" ,
"type" : "string" ,
"default" : "prompt" ,
"invisible" : true
} ,
"custom_photo_tool_kind_param" : {
"description" : "Legacy flat config: 生图工具类型参数名" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"custom_photo_tool_reference_param" : {
"description" : "Legacy flat config: 生图工具参考图参数名" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"custom_photo_tool_extra_params" : {
"description" : "Legacy flat config: 生图工具额外参数" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"enable_photo_reference_image" : {
"description" : "Legacy flat config: 启用人设/穿搭参考图一致性" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_group_nsfw_private_fallback" : {
"description" : "Legacy flat config: 群聊成图安全审核与私聊回退" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"group_nsfw_image_review_timeout_seconds" : {
"description" : "Legacy flat config: 群聊成图安全审核超时秒数" ,
"type" : "float" ,
"default" : 8 ,
"invisible" : true
} ,
"COMFYUI_TEXT2IMG_WORKFLOW_NAME" : {
"description" : "Legacy flat config: 主动拍照文生图工作流名" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"COMFYUI_SELFIE_WORKFLOW_NAME" : {
"description" : "Legacy flat config: 主动自拍工作流名" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"photo_persona_reference_image_path" : {
"description" : "Legacy flat config: 人设参考图路径或图片 URL" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"photo_reference_library" : {
"description" : "Legacy flat config: 带用途注释的参考图库" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"enable_daily_outfit_photo" : {
"description" : "Legacy flat config: 每日穿搭照片" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_creative_cover_generation" : {
"description" : "Legacy flat config: 为创作内容生成封面" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"daily_outfit_photo_prompt" : {
"description" : "Legacy flat config: 每日穿搭额外提示词" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"daily_outfit_rotation_days" : {
"description" : "Legacy flat config: 穿搭轮换冷却天数" ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"enable_natural_language_photo_generation" : {
"description" : "Legacy flat config: 允许规则快判生图/改图" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"natural_language_photo_generation_mode" : {
"description" : "Legacy flat config: 非指令生图处理方式" ,
"type" : "string" ,
"default" : "tool_first" ,
"options" : [
"tool_first" ,
"rule_fast" ,
"off"
] ,
"invisible" : true
} ,
"natural_language_photo_generation_max_daily" : {
"description" : "Legacy flat config: 规则快判生图/改图每日上限" ,
"type" : "int" ,
"default" : 2 ,
"invisible" : true
} ,
"natural_language_photo_extra_prompt" : {
"description" : "Legacy flat config: 规则快判生图附加提示词" ,
"type" : "text" ,
"default" : "clean clear image, natural composition, no unrelated text, no watermark, no logo, no explanatory panels" ,
"invisible" : true
} ,
"comfyui_photo_wait_seconds" : {
"description" : "Legacy flat config: 主动拍照等待生图秒数" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"enable_local_photo_load_guard" : {
"description" : "Legacy flat config: 电脑高负荷时延后本地生图" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"local_photo_cpu_busy_percent" : {
"description" : "Legacy flat config: 本地生图 CPU 忙碌阈值" ,
"type" : "int" ,
"default" : 85 ,
"invisible" : true
} ,
"local_photo_memory_busy_percent" : {
"description" : "Legacy flat config: 本地生图内存忙碌阈值" ,
"type" : "int" ,
"default" : 88 ,
"invisible" : true
} ,
"local_photo_defer_minutes" : {
"description" : "Legacy flat config: 本地生图忙时延后分钟数" ,
"type" : "int" ,
"default" : 30 ,
"invisible" : true
} ,
"external_image_api_platform" : {
"description" : "Legacy flat config: 在线生图模型平台" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"EXTERNAL_IMAGE_API_BASE_URL" : {
"description" : "Legacy flat config: 在线图片 API 地址" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"EXTERNAL_IMAGE_API_KEY" : {
"description" : "Legacy flat config: 在线图片 API Key" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"EXTERNAL_IMAGE_API_MODEL" : {
"description" : "Legacy flat config: 在线图片模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"external_image_api_size" : {
"description" : "Legacy flat config: 在线生图尺寸" ,
"type" : "string" ,
"default" : "1024x1024" ,
"invisible" : true
} ,
"external_image_api_timeout_seconds" : {
"description" : "Legacy flat config: 在线生图超时时间(秒)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"external_image_api_custom_headers" : {
"description" : "Legacy flat config: 在线生图自定义请求头" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"external_image_download_proxy" : {
"description" : "Legacy flat config: 在线图片结果下载代理" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"external_image_download_use_environment_proxy" : {
"description" : "Legacy flat config: 在线图片下载继承环境代理" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_backup_external_image_api" : {
"description" : "Legacy flat config: 启用备选在线图片 API" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"backup_external_image_api_platform" : {
"description" : "Legacy flat config: 备选在线生图模型平台" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"BACKUP_EXTERNAL_IMAGE_API_BASE_URL" : {
"description" : "Legacy flat config: 备选在线图片 API 地址" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"BACKUP_EXTERNAL_IMAGE_API_KEY" : {
"description" : "Legacy flat config: 备选在线图片 API Key" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"BACKUP_EXTERNAL_IMAGE_API_MODEL" : {
"description" : "Legacy flat config: 备选在线图片模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"backup_external_image_api_size" : {
"description" : "Legacy flat config: 备选在线生图尺寸" ,
"type" : "string" ,
"default" : "1024x1024" ,
"invisible" : true
} ,
"backup_external_image_api_timeout_seconds" : {
"description" : "Legacy flat config: 备选在线生图超时时间(秒)" ,
"type" : "int" ,
"default" : 180 ,
"invisible" : true
} ,
"backup_external_image_api_custom_headers" : {
"description" : "Legacy flat config: 备选在线生图自定义请求头" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"external_image_api_endpoints" : {
"description" : "Legacy flat config: 在线生图 API 优先级队列" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"photo_generation_prompt_format" : {
"description" : "Legacy flat config: 生图提示词表达方式" ,
"type" : "string" ,
2026-07-26 01:32:07 +08:00
"options" : [
"traditional" ,
"natural_language"
] ,
2026-07-24 00:25:43 +08:00
"default" : "traditional" ,
"invisible" : true
} ,
"photo_generation_style" : {
"description" : "Legacy flat config: 主动生图风格" ,
"type" : "string" ,
"default" : "真实" ,
"invisible" : true
} ,
"photo_generation_style_custom_prompt" : {
"description" : "Legacy flat config: 主动生图自定义风格说明" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"photo_generation_fixed_prompt" : {
"description" : "Legacy flat config: 生图固定附加提示词" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"photo_generation_scene_presets" : {
"description" : "Legacy flat config: 生图场景预设" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_voice_action" : {
"description" : "Legacy flat config: 允许主动发语音" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_tts_enhancement" : {
"description" : "Legacy flat config: TTS强化" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"tts_synthesis_backend" : {
"description" : "Legacy flat config: TTS语音合成后端" ,
"type" : "string" ,
"default" : "astrbot_provider" ,
"invisible" : true
} ,
"tts_mimo_tool_name" : {
"description" : "Legacy flat config: MiMo TTS Voice Clone工具名" ,
"type" : "string" ,
"default" : "mimo_tts_speak" ,
"invisible" : true
} ,
"tts_mimo_voice_name" : {
"description" : "Legacy flat config: MiMo TTS Voice Clone音色" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"tts_mimo_style_prompt" : {
"description" : "Legacy flat config: MiMo TTS Voice Clone临时风格" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"tts_generation_mode" : {
"description" : "Legacy flat config: TTS生成路径" ,
"type" : "string" ,
"default" : "fast_tag" ,
"invisible" : true
} ,
"tts_voice_language" : {
"description" : "Legacy flat config: TTS语音语种" ,
"type" : "string" ,
"default" : "ja" ,
"invisible" : true
} ,
"tts_fishaudio_model" : {
"description" : "Legacy flat config: Fish Audio模型适配" ,
"type" : "string" ,
"default" : "auto" ,
"invisible" : true
} ,
"tts_fishaudio_emotion_mode" : {
"description" : "Legacy flat config: Fish Audio情绪控制强度" ,
"type" : "string" ,
"default" : "balanced" ,
"invisible" : true
} ,
"tts_delivery_mode" : {
"description" : "Legacy flat config: TTS发送形态" ,
"type" : "string" ,
"default" : "voice_and_text" ,
"invisible" : true
} ,
"tts_foreign_text_mode" : {
"description" : "Legacy flat config: 外语语音文字显示" ,
"type" : "string" ,
"default" : "translation" ,
"invisible" : true
} ,
"tts_conversion_scope" : {
"description" : "Legacy flat config: TTS转换范围" ,
"type" : "string" ,
"default" : "partial" ,
"invisible" : true
} ,
"tts_conversion_provider_id" : {
"description" : "Legacy flat config: TTS文本转换模型Provider ID" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"tts_extra_prompt" : {
"description" : "Legacy flat config: TTS补充规则" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"tts_frequency_control_mode" : {
"description" : "Legacy flat config: TTS频率控制模式" ,
"type" : "string" ,
"default" : "global" ,
"invisible" : true
} ,
"tts_constraint_mode" : {
"description" : "Legacy flat config: TTS约束强度" ,
"type" : "string" ,
"default" : "weak" ,
"invisible" : true
} ,
"tts_session_min_interval_seconds" : {
"description" : "Legacy flat config: TTS会话最小间隔秒数" ,
"type" : "float" ,
"default" : 90 ,
"invisible" : true
} ,
"tts_private_min_interval_seconds" : {
"description" : "Legacy flat config: 私聊TTS最小间隔秒数" ,
"type" : "float" ,
"default" : -1 ,
"invisible" : true
} ,
"tts_group_min_interval_seconds" : {
"description" : "Legacy flat config: 群聊TTS最小间隔秒数" ,
"type" : "float" ,
"default" : -1 ,
"invisible" : true
} ,
"tts_trigger_probability" : {
"description" : "Legacy flat config: TTS全局触发概率(%)" ,
"type" : "int" ,
"default" : 25 ,
"invisible" : true
} ,
"tts_private_trigger_probability" : {
"description" : "Legacy flat config: 私聊TTS触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"invisible" : true
} ,
"tts_group_trigger_probability" : {
"description" : "Legacy flat config: 群聊TTS触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"invisible" : true
} ,
"enable_tts_local_playback" : {
"description" : "Legacy flat config: TTS生成后本机播放" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_tts_local_playback_live_only" : {
"description" : "Legacy flat config: 直播时仅播放直播回应消息" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"enable_tts_live_subtitle_sync" : {
"description" : "Legacy flat config: 同步到直播打字机字幕" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"tts_local_playback_volume" : {
"description" : "Legacy flat config: 本机播放音量" ,
"type" : "int" ,
"default" : 35 ,
"invisible" : true
} ,
"tts_live_subtitle_url" : {
"description" : "Legacy flat config: 直播字幕推送地址" ,
"type" : "string" ,
"default" : "http://127.0.0.1:18081/show" ,
"invisible" : true
} ,
"tts_local_playback_min_interval_seconds" : {
"description" : "Legacy flat config: 本机播放最小间隔秒数" ,
"type" : "float" ,
"default" : 0 ,
"invisible" : true
} ,
"auto_voice_enabled" : {
"description" : "Legacy flat config: 自动语音转换" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"auto_voice_full_conversion_enabled" : {
"description" : "Legacy flat config: 自动语音完整转换" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"auto_voice_probability" : {
"description" : "Legacy flat config: 自动语音触发概率(旧)" ,
"type" : "int" ,
"default" : 25 ,
"invisible" : true
} ,
"auto_voice_max_chars" : {
"description" : "Legacy flat config: 自动语音最大字数" ,
"type" : "int" ,
"default" : 50 ,
"invisible" : true
} ,
"auto_voice_cooldown_seconds" : {
"description" : "Legacy flat config: 自动语音冷却秒数" ,
"type" : "int" ,
"default" : 120 ,
"invisible" : true
} ,
"main_user_voice_probability" : {
"description" : "Legacy flat config: 主用户触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"invisible" : true
} ,
"main_user_mention_voice_keywords" : {
"description" : "Legacy flat config: @主用户语音关键词" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"main_user_mention_voice_probability" : {
"description" : "Legacy flat config: @主用户关键词触发概率(%)" ,
"type" : "int" ,
"default" : 0 ,
"invisible" : true
} ,
"main_user_mention_voice_prompt" : {
"description" : "Legacy flat config: @主用户关键词提示词" ,
"type" : "text" ,
"default" : "" ,
"invisible" : true
} ,
"voice_action_max_chars" : {
"description" : "Legacy flat config: 主动语音最大字数" ,
"type" : "int" ,
"default" : 30 ,
"invisible" : true
} ,
"enable_weather_context" : {
"description" : "Legacy flat config: 启用天气上下文" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"weather_api_key" : {
"description" : "Legacy flat config: 天气 API Key" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"weather_city" : {
"description" : "Legacy flat config: 天气城市" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"weather_lat" : {
"description" : "Legacy flat config: 天气纬度" ,
"type" : "float" ,
"default" : 0 ,
"invisible" : true
} ,
"weather_lon" : {
"description" : "Legacy flat config: 天气经度" ,
"type" : "float" ,
"default" : 0 ,
"invisible" : true
} ,
"weather_refresh_minutes" : {
"description" : "Legacy flat config: 天气缓存刷新间隔(分钟)" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"enable_environment_change_proactive" : {
"description" : "Legacy flat config: 环境突变主动消息" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"environment_change_check_minutes" : {
"description" : "Legacy flat config: 环境突变检测间隔(分钟)" ,
"type" : "int" ,
"default" : 10 ,
"invisible" : true
} ,
"environment_change_cooldown_minutes" : {
"description" : "Legacy flat config: 环境突变消息冷却(分钟)" ,
"type" : "int" ,
"default" : 90 ,
"invisible" : true
} ,
"target_group_ids" : {
"description" : "Legacy flat config: 群聊陪伴目标群号(旧配置,等同白名单)" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"require_target_group" : {
"description" : "Legacy flat config: 只观察配置的目标群(旧开关)" ,
"type" : "bool" ,
"default" : true ,
"invisible" : true
} ,
"COMFYUI_PHOTO_WORKFLOW_NAME" : {
"description" : "Legacy flat config: 主动拍照工作流名(兼容旧配置)" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_segmented_proactive_reply" : {
"description" : "Legacy flat config: 主动文本分段发送" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"segmented_proactive_scope" : {
"description" : "Legacy flat config: 分段作用范围" ,
"type" : "string" ,
"default" : "proactive_only" ,
"invisible" : true
} ,
"segmented_proactive_chat_scope" : {
"description" : "Legacy flat config: 分段会话范围" ,
"type" : "string" ,
"default" : "all" ,
"invisible" : true
} ,
"segmented_proactive_threshold" : {
"description" : "Legacy flat config: 主动文本不分段字数阈值" ,
"type" : "int" ,
"default" : 500 ,
"invisible" : true
} ,
"segmented_proactive_min_segment_chars" : {
"description" : "Legacy flat config: 主动短片段合并阈值" ,
"type" : "int" ,
"default" : 8 ,
"invisible" : true
} ,
"segmented_proactive_max_segments" : {
"description" : "Legacy flat config: 主动文本最多分段数" ,
"type" : "int" ,
"default" : 3 ,
"invisible" : true
} ,
"segmented_proactive_send_as_forward" : {
"description" : "Legacy flat config: 分段后以合并消息发送" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"segmented_proactive_split_mode" : {
"description" : "Legacy flat config: 主动分段模式" ,
"type" : "string" ,
"default" : "regex" ,
"invisible" : true
} ,
"segmented_proactive_regex" : {
"description" : "Legacy flat config: 主动分段正则表达式" ,
"type" : "string" ,
"default" : ".*?[。?!~…\\n]+|.+$" ,
"invisible" : true
} ,
"segmented_proactive_split_words" : {
"description" : "Legacy flat config: 主动分段词列表" ,
"type" : "list" ,
"default" : [
"。" ,
"?" ,
"! " ,
"~" ,
"…" ,
"“"
] ,
"invisible" : true
} ,
"enable_segmented_proactive_content_cleanup" : {
"description" : "Legacy flat config: 主动分段内容清理" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"segmented_proactive_content_cleanup_rule" : {
"description" : "Legacy flat config: 主动分段内容清理正则" ,
"type" : "string" ,
"default" : "[\\n]" ,
"invisible" : true
} ,
"segmented_proactive_content_cleanup_scope" : {
"description" : "Legacy flat config: 主动分段内容清理范围" ,
"type" : "string" ,
"default" : "all" ,
"invisible" : true
} ,
"segmented_proactive_content_cleanup_words" : {
"description" : "Legacy flat config: 主动分段内容清理词列表" ,
"type" : "list" ,
"default" : [
"\n"
] ,
"invisible" : true
} ,
"enable_segmented_proactive_content_replacement" : {
"description" : "Legacy flat config: 主动分段内容替换" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"segmented_proactive_content_replacements" : {
"description" : "Legacy flat config: 主动分段内容替换规则" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true
} ,
"segmented_proactive_interval_method" : {
"description" : "Legacy flat config: 主动分段间隔算法" ,
"type" : "string" ,
"default" : "log" ,
"invisible" : true
} ,
"segmented_proactive_interval_min" : {
"description" : "Legacy flat config: 主动分段最小间隔秒数" ,
"type" : "float" ,
"default" : 1.5 ,
"invisible" : true
} ,
"segmented_proactive_interval_max" : {
"description" : "Legacy flat config: 主动分段最大间隔秒数" ,
"type" : "float" ,
"default" : 3.5 ,
"invisible" : true
} ,
"segmented_proactive_log_base" : {
"description" : "Legacy flat config: 主动分段对数底数" ,
"type" : "float" ,
"default" : 1.8 ,
"invisible" : true
} ,
"timezone" : {
"description" : "Legacy flat config: 旧版时区" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_maintenance_token_saver" : {
"description" : "Legacy flat config: 旧版 Token 节省开关" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"maintenance_token_soft_limit" : {
"description" : "Legacy flat config: 旧版 Token 软限额" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DIARY_PROVIDER_ID" : {
"description" : "Legacy flat config: 旧版日记模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"DREAM_PROVIDER_ID" : {
"description" : "Legacy flat config: 旧版梦境模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enabled_proactive_actions" : {
"description" : "Legacy flat config: 旧版主动能力列表" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"allow_photo_text_action" : {
"description" : "Legacy flat config: 旧版主动发图开关" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"allow_voice_action" : {
"description" : "Legacy flat config: 旧版主动语音开关" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"creative_base_chars_per_hour" : {
"description" : "Legacy flat config: 旧版创作字数" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"enable_hot_trend_sources" : {
"description" : "Legacy flat config: 旧版热榜开关" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
2026-07-26 01:32:07 +08:00
"enable_jm_cosmos_integration" : {
"description" : "Legacy flat config: 旧版夹层阅读开关" ,
"type" : "bool" ,
"default" : false ,
2026-07-24 00:25:43 +08:00
"invisible" : true
} ,
"enable_jm_cosmos_boredom_read" : {
"description" : "Legacy flat config: 旧版无聊阅读开关" ,
"type" : "bool" ,
"default" : false ,
"invisible" : true
} ,
"jm_cosmos_min_interval_hours" : {
"description" : "Legacy flat config: 旧版阅读间隔" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_max_photo_count" : {
"description" : "Legacy flat config: 旧版阅读图片数" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_share_probability" : {
"description" : "Legacy flat config: 旧版阅读分享概率" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_default_keywords" : {
"description" : "Legacy flat config: 旧版默认关键词" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_blocked_tags" : {
"description" : "Legacy flat config: 旧版屏蔽标签" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"JM_COSMOS_VISION_PROVIDER_ID" : {
"description" : "Legacy flat config: 旧版夹层阅读视觉模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"FAST_RESPONSE_PROVIDER_ID" : {
"description" : "Legacy flat config: 快速响应模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"COMPLEX_REASONING_PROVIDER_ID" : {
"description" : "Legacy flat config: 复杂推理模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"CREATIVE_MODEL_PROVIDER_ID" : {
"description" : "Legacy flat config: 创作模型" ,
"type" : "string" ,
"default" : "" ,
"invisible" : true
} ,
"provider_config_mode" : {
"description" : "Legacy flat config: 模型配置模式" ,
"type" : "string" ,
"default" : "" ,
"options" : [
"" ,
"quick" ,
"precision"
] ,
"invisible" : true
} ,
"page_font_family" : {
"description" : "Legacy flat config: 拓展页面字体" ,
"type" : "string" ,
"default" : "original" ,
"options" : [
"original" ,
"yahei" ,
"dengxian" ,
"source_han" ,
"simsun" ,
"kaiti" ,
"fangsong" ,
"cheng"
] ,
"invisible" : true
} ,
"page_theme" : {
"description" : "Legacy flat config: 拓展页面主题" ,
"type" : "string" ,
"default" : "classic" ,
"options" : [
"classic" ,
"dark" ,
"warm" ,
"forest" ,
"sakura" ,
"ocean" ,
"lavender" ,
"ink" ,
"sunset"
] ,
"invisible" : true
} ,
"model_timeout_overrides" : {
"description" : "Legacy flat config: 模型任务超时覆盖" ,
"type" : "text" ,
"default" : "{}" ,
"invisible" : true
} ,
"model_fallback_overrides" : {
"description" : "Legacy flat config: 模型卡片备用 Provider" ,
"type" : "text" ,
"default" : "{}" ,
"invisible" : true
} ,
"model_assignment_config" : {
"description" : "模型分流" ,
"type" : "object" ,
"hint" : "选择快速配置时只使用快速模型入口并隐藏细分分流;选择精准配置时使用各任务单独 Provider,快速模型入口不参与运行态。" ,
"items" : {
"provider_config_mode" : {
"description" : "模型配置模式" ,
"type" : "string" ,
"hint" : "快速配置:只填写快速响应、复杂推理、创作和插件识图,运行时按这几项覆盖任务分流。精准配置:逐项指定下方任务 Provider,快速模型入口不参与回退。选择快速/精准后,官方配置页只显示当前模式需要填写的模型;切换不会清空另一套旧值。旧配置若没有保存过模式,启动时会按已填写的分流模型自动补成快速或精准。" ,
"default" : "quick" ,
"options" : [
"quick" ,
"precision"
] ,
"labels" : [
"快速配置" ,
"精准配置"
]
} ,
"enable_deepseek_peak_replacement" : {
"description" : "启用 DeepSeek 高价时段替换" ,
"type" : "bool" ,
"hint" : "开启后,仅在下方自定义高价时段内,把插件任务中识别为 DeepSeek 的 Provider 临时路由到替代 Provider;不会修改原模型配置,时段结束后自动恢复。" ,
"default" : false
} ,
"DEEPSEEK_PEAK_REPLACEMENT_PROVIDER_ID" : {
"description" : "DeepSeek 高价时段替代模型" ,
"type" : "string" ,
"hint" : "高价时段内用于临时承接 DeepSeek 插件任务。请勿选择当前 DeepSeek Provider 本身。" ,
"default" : "" ,
"_special" : "select_provider"
} ,
"deepseek_peak_windows" : {
"description" : "DeepSeek 高价时段" ,
"type" : "text" ,
"hint" : "每行或逗号分隔一个 HH:MM-HH:MM 时段,支持跨午夜。当前默认值来自 DeepSeek 预计 2026 年 7 月中旬启用的峰谷定价公告:北京时间每日 09:00-12:00、14:00-18:00 为高峰时段。" ,
"default" : "09:00-12:00\n14:00-18:00"
} ,
"deepseek_peak_timezone" : {
"description" : "DeepSeek 高价时段时区" ,
"type" : "string" ,
"hint" : "IANA 时区名称,例如 Asia/Shanghai。无效时区会安全回退到 Asia/Shanghai。" ,
"default" : "Asia/Shanghai"
} ,
"deepseek_peak_match_keywords" : {
"description" : "DeepSeek Provider 匹配关键词" ,
"type" : "text" ,
"hint" : "用于匹配 Provider ID、名称、模型名、类型和 API Base;每行或逗号分隔。" ,
"default" : "deepseek,深度求索"
} ,
"FAST_RESPONSE_PROVIDER_ID" : {
"description" : "快速响应模型" ,
"type" : "string" ,
"hint" : "快速配置入口。用于低延迟判断、轻量复核、群聊续接、语音短句、工具转述、新闻/搜索整理等短任务;仅在模型配置模式为“快速配置”时参与运行态。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "quick"
} ,
"_special" : "select_provider"
} ,
"COMPLEX_REASONING_PROVIDER_ID" : {
"description" : "复杂推理模型" ,
"type" : "string" ,
"hint" : "快速配置入口。用于主模型兜底、日程生成/细化、长期记忆整理、关系分析、合并消息转述等更需要理解和结构化能力的任务;仅在模型配置模式为“快速配置”时参与运行态。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "quick"
} ,
"_special" : "select_provider"
} ,
"CREATIVE_MODEL_PROVIDER_ID" : {
"description" : "创作模型" ,
"type" : "string" ,
"hint" : "快速配置入口。用于私下创作、创作大纲/审校、日记梦境和生图提示词等更偏文风、画面感和表达质量的任务;仅在模型配置模式为“快速配置”时参与运行态。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "quick"
} ,
"_special" : "select_provider"
} ,
"MAI_STYLE_PROVIDER_ID" : {
"description" : "互动与表达基座通用模型(留空跟随主模型)" ,
"type" : "string" ,
"hint" : "作为新增陪伴能力的通用兜底模型。下方单项模型留空时会先回退到这里,再回退到 LLM_PROVIDER_ID/AstrBot 默认模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"DAILY_PLAN_PROVIDER_ID" : {
"description" : "日程生成模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于每天生成粗日程和重试纠偏。建议选择擅长结构化 JSON、能理解人格和世界观且成本可控的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"DETAIL_ENHANCEMENT_PROVIDER_ID" : {
"description" : "细节强化模型(留空跟随主模型)" ,
"type" : "string" ,
"hint" : "用于把某个日程段展开为细节事件和主动意愿。建议选择便宜但稳定、擅长结构化 JSON 的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"DREAM_DIARY_PROVIDER_ID" : {
"description" : "日记与梦境模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "同时用于每日 Bot 日记、生活碎片、梦境碎片、强化梦境内容和梦后余韵。建议选择便宜、擅长短文本意象、口语和 JSON 输出的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"CREATIVE_PROVIDER_ID" : {
"description" : "私下创作模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于生成创作项目设定和闲暇时的单次正文片段。作品可以是小说、诗、随笔、剧本、设定集等文本。建议选择文风稳定、能遵守人设身份边界的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"CREATIVE_OUTLINE_PROVIDER_ID" : {
"description" : "创作大纲模型(留空跟随私下创作模型)" ,
"type" : "string" ,
"hint" : "用于每次续写前整理本段短大纲。可以选择便宜、擅长结构化短输出的模型;留空时跟随私下创作模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"CREATIVE_REVIEW_PROVIDER_ID" : {
"description" : "创作审校/分析模型(留空跟随私下创作模型)" ,
"type" : "string" ,
"hint" : "用于续写后的质量复核、重复检测辅助和故事圣经抽取。建议选择遵循 JSON 较稳定的模型;留空时跟随私下创作模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"VOICE_PROMPT_PROVIDER_ID" : {
"description" : "主动语音文案文本模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "这是文本模型,只用于主动 voice 的短句生成和 TTS 格式修复,不是语音合成模型选择器。真正发声使用 AstrBot 当前会话配置的 TTS provider;阿里云百炼/CosyVoice 等语音合成模型请在 AstrBot 的 TTS 配置中设置。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"PHOTO_PROMPT_PROVIDER_ID" : {
"description" : "主动生图提示词模型(留空跟随主模型)" ,
"type" : "string" ,
"hint" : "只用于生成 photo_text 的画面提示词和画面描述。适合单独换成更擅长视觉描述、审美更稳定的模型,不影响普通聊天或每日日程模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"NARRATION_PROVIDER_ID" : {
"description" : "工具结果转述模型(留空则不单独转述)" ,
"type" : "string" ,
"hint" : "用于把工具结果转成可供最终主动消息使用的自然语言上下文。当前主要用于 screen_peek 观察结果转述,不参与主动生图提示词生成。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"HISTORY_SUMMARY_PROVIDER_ID" : {
"description" : "昨日对话摘要模型(留空跟随日程模型)" ,
"type" : "string" ,
"hint" : "用于把昨日/最近完整对话压成可延续到日程和梦境的摘要。适合便宜、长上下文整理稳定的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"RESPONSE_REVIEW_PROVIDER_ID" : {
"description" : "回复/主动复核模型(留空用默认)" ,
"type" : "string" ,
"hint" : "用于被动回复轻量自检,以及主动消息发送前判断是否值得现在发送、是否需要轻改写/延后/取消。留空会回退到 MAI_STYLE_PROVIDER_ID,再回退到主模型。建议选择便宜、短文本判断稳定的模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"SMART_SILENCE_PROVIDER_ID" : {
"description" : "智能沉默判定模型(留空跟随回复复核)" ,
"type" : "string" ,
"hint" : "仅在用户疑似表达“不想继续这个话题/别问了/换个话题/不用回复”时调用,判断本轮待发送回复是否应该直接静默取消。建议使用便宜、低延迟、JSON 稳定的小模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"TROUBLESHOOTING_PROVIDER_ID" : {
"description" : "插件答疑/排障模型(留空优先使用复杂推理模型)" ,
"type" : "string" ,
"hint" : "用于“陪伴 答疑”的插件专家问答,也用于扩展页排障中心的模型复核。需要阅读插件知识目录、相关源码、配置和运行状态后综合回答,建议选择上下文理解和代码推理较强的模型;留空时快速配置会使用复杂推理模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"RELATIONSHIP_ANALYSIS_PROVIDER_ID" : {
"description" : "关系站位分析模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于结合 AstrBot 人格和互动样本判断亲近度、打扰边界。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"EMOTION_JUDGEMENT_PROVIDER_ID" : {
"description" : "情绪变化判断模型(留空自动回退)" ,
"type" : "string" ,
"hint" : "用于可选复核用户消息是否会触发 Bot 自身短期情绪余波。建议选择便宜、低延迟、分类保守的小模型;留空会先回退到排障检查模型,再回退到关系站位/陪伴通用/主模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"COMPANION_MEMORY_PROVIDER_ID" : {
"description" : "陪伴长期画像整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于把原始私聊记忆整理成用户画像、兴趣、边界、关系备注和说话习惯。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"DIALOGUE_EPISODE_PROVIDER_ID" : {
"description" : "私聊片段记忆整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于总结共同经历、情绪余味、可续话头和未完成约定。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"GROUP_INTERJECT_PROVIDER_ID" : {
"description" : "群聊主动插话模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "仅在 enable_group_interjection 开启时使用,用于生成极短群聊插话。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"GROUP_EPISODE_PROVIDER_ID" : {
"description" : "群聊片段记忆整理模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于把群聊最近一段整理成话题、梗、活跃群友和短期避免重复内容。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"GROUP_SLANG_PROVIDER_ID" : {
"description" : "群内黑话释义模型(留空跟随陪伴通用模型)" ,
"type" : "string" ,
"hint" : "用于根据群聊样例解释群内常见词/梗。留空会回退到 MAI_STYLE_PROVIDER_ID。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"GROUP_FOLLOWUP_JUDGE_PROVIDER_ID" : {
"description" : "群聊续接判断模型" ,
"type" : "string" ,
"hint" : "用于群聊续接判断:判断用户后续没 @ 的发言是否仍在和 Bot 对话。适合便宜、低延迟、指令遵循稳定、YES/NO 分类准确的小模型。快速模式会跟随快速响应模型;精准模式留空时只使用规则判断。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"FORWARD_MESSAGE_PROVIDER_ID" : {
"description" : "合并消息转述模型" ,
"type" : "string" ,
"hint" : "当合并消息适配方式选择“转述”时使用,先把合并转发读成自然记录再交给主模型。适合长上下文整理稳定、成本较低、能保留人物和时间线的模型。留空会回退到陪伴通用模型。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision"
} ,
"_special" : "select_provider"
} ,
"PLUGIN_VISION_PROVIDER_ID" : {
"description" : "插件识图模型(私聊/合并消息/识屏)" ,
"type" : "string" ,
"hint" : "快速配置的视觉入口。用于插件自己的通用视觉理解任务:私聊单图/表情包转述、引用图片、合并消息图片和识屏;快速模式下也作为夹层阅读视觉入口。精准模式下请使用下方各视觉/外界信息分流项。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "quick"
} ,
"_special" : "select_provider"
} ,
"PRIVATE_READING_VISION_PROVIDER_ID" : {
"description" : "夹层阅读视觉模型" ,
"type" : "string" ,
"hint" : "仅用于夹层阅读的封面/抽样页理解、页边批注、读后感、评分和阅读偏好标签。必须填写支持图片输入的视觉模型;留空或模型不可用时不会回退到通用识图模型,也不会生成批注/读后感。" ,
"default" : "" ,
"condition" : {
"provider_config_mode" : "precision" ,
"enable_private_reading_integration" : true
} ,
"_special" : "select_provider"
}
}
} ,
"proactive_reach_config" : {
"description" : "主动频率与强度" ,
"type" : "object" ,
"hint" : "控制主动频率、私聊主动每日上限和入站消息合并等待。主动强度预设默认关闭;开启后只作为运行态覆盖层,不会改写下方手动参数。最高档不限制每日主动次数和每日群聊插话次数,并会忽略 Token 软限额降载,但不会绕过硬限额。" ,
"items" : {
"proactive_intensity_preset" : {
"description" : "主动强度预设" ,
"type" : "string" ,
"hint" : "默认 off 表示完全沿用手动参数。选择预设后,会在运行态降低/提高私聊主动、群聊唤醒和插话的有效频率,并在排障页显示当前覆盖项;扩展页入口位于配置 → 功能开关 → 通用能力。最高档“在线陪伴”不再限制每日主动次数和每日群聊插话次数,也不再替用户节省主动成本,会忽略 Token 软限额降载;但不会绕过免打扰、休息、用户拒绝、隐私和每日 Token 硬限额。" ,
"default" : "off" ,
"options" : [
"off" ,
"balanced" ,
"high_private" ,
"high_group" ,
"live"
] ,
"labels" : [
"关闭:手动参数" ,
"标准偏主动" ,
"私聊高频" ,
"群聊活跃" ,
"在线陪伴:不省成本"
]
} ,
"max_daily_messages" : {
"description" : "每日最多主动消息数" ,
"type" : "int" ,
"hint" : "每个用户每天最多收到多少条主动陪伴消息。设为 0 会停止主动念头、候选、主动行为的生成与发送;被动聊天和日程状态等基础维护不受影响。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 8
} ,
"inbound_message_debounce_seconds" : {
"description" : "重复消息防抖秒数" ,
"type" : "float" ,
"hint" : "拦截平台或适配器短时间重复上报的同一条用户消息。优先按 message_id 做约 60 秒去重;没有 message_id 时按会话、发送者、原始消息和组件指纹做短窗口判断。设为 0 可关闭。" ,
"slider" : {
"min" : 0 ,
"max" : 10 ,
"step" : 0.5
} ,
"default" : 3
} ,
"enable_reply_interception_forward" : {
"description" : "启用回复拦截转发" ,
"type" : "bool" ,
"hint" : "将插件阻断、回复改写或主动消息被拦截的情况与原因转发到指定私聊或群聊。通知失败不会影响原消息链路。" ,
"default" : false
} ,
"reply_interception_forward_target_umo" : {
"description" : "拦截转发目标会话" ,
"type" : "string" ,
"hint" : "填写 AstrBot 统一会话 ID,例如 default:FriendMessage:123456 或 default:GroupMessage:123456。" ,
"default" : "" ,
"condition" : "enable_reply_interception_forward"
} ,
"reply_interception_forward_plugin_blocks" : {
"description" : "转发插件阻断消息" ,
"type" : "bool" ,
"hint" : "插件决定不回复、去重丢弃或其他被动回复拦截时转发原因。" ,
"default" : true ,
"condition" : "enable_reply_interception_forward"
} ,
"reply_interception_forward_rewrites" : {
"description" : "转发回复改写" ,
"type" : "bool" ,
"hint" : "最终回复在发送前被纠偏、清理或复核改写时,转发原文与处理后文本。" ,
"default" : true ,
"condition" : "enable_reply_interception_forward"
} ,
"reply_interception_forward_proactive_blocks" : {
"description" : "转发主动消息拦截" ,
"type" : "bool" ,
"hint" : "主动候选进入已取消或已丢弃状态时转发;普通延后不转发。" ,
"default" : true ,
"condition" : "enable_reply_interception_forward"
}
}
} ,
"balance_awareness_config" : {
"description" : "余额感知与零花钱主动" ,
"type" : "object" ,
"hint" : "默认复用 AstrBot 已配置 Provider 的 API Base 与 Key 自动尝试只读余额查询;也可填写自定义 HTTP JSON 接口覆盖。余额偏低时只向主要用户投放一个主动念头,再由人格、关系、免打扰、频控和发送复核决定是否以及如何表达。" ,
"items" : {
"enable_balance_awareness" : {
"description" : "启用余额感知" ,
"type" : "bool" ,
"default" : false ,
"hint" : "开启后会先使用自定义余额接口;未填写时自动尝试 AstrBot 已配置 Provider 的常见只读余额协议。"
} ,
"balance_api_url" : {
"description" : "余额接口地址(可选覆盖)" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可选。填写后优先使用这个返回 JSON 的完整 HTTP/HTTPS GET 地址;留空会自动复用 AstrBot Provider 配置尝试查询。接口失败只会按退避间隔重试。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_api_key" : {
"description" : "余额接口 API Key" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可选。默认以 Authorization: Bearer <Key> 发送;不会写入日志或主动消息。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_api_auth_header" : {
"description" : "鉴权请求头名称" ,
"type" : "string" ,
"default" : "Authorization" ,
"hint" : "接口使用 X-API-Key 等请求头时可修改。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_api_auth_scheme" : {
"description" : "鉴权前缀" ,
"type" : "string" ,
"default" : "Bearer" ,
"hint" : "留空表示直接发送 Key;常见值为 Bearer。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_api_custom_headers" : {
"description" : "余额接口自定义请求头" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可选,每行一个 Key: Value。Host、Content-Length 等连接控制头会被忽略。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_json_path" : {
"description" : "余额 JSON 路径" ,
"type" : "string" ,
"default" : "" ,
"hint" : "例如 data.balance 或 data.accounts[0].remaining。留空会自动识别常见 balance、remaining、available、credit、quota、total_balance、limit_remaining 和 balance_infos 字段。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_total_json_path" : {
"description" : "总额度 JSON 路径" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可选。用于计算剩余百分比;若余额路径取不到,但总额度和已用额度都能取到,会自动以 总额度 - 已用额度 计算余额。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_used_json_path" : {
"description" : "已用额度 JSON 路径" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可选,与总额度路径配合。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_value_divisor" : {
"description" : "余额数值除数" ,
"type" : "float" ,
"default" : 1 ,
"hint" : "接口返回分、微元或内部 quota 单位时用于换算。例如返回分则填 100;余额、总额和已用额都会统一除以该值。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_currency_label" : {
"description" : "余额单位" ,
"type" : "string" ,
"default" : "元" ,
"hint" : "只用于人格生成上下文和状态展示,例如 元、美元、点、次。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_check_interval_minutes" : {
"description" : "余额检查间隔(分钟)" ,
"type" : "float" ,
"default" : 60 ,
"slider" : {
"min" : 5 ,
"max" : 1440 ,
"step" : 5
} ,
"hint" : "成功后按此间隔再次检查;临时失败会从 5 分钟起指数退避。自动模式确认当前 Provider 不支持余额查询时,至少暂停 12 小时;余额配置变化后会立即重新探测。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_request_timeout_seconds" : {
"description" : "余额接口超时(秒)" ,
"type" : "float" ,
"default" : 10 ,
"slider" : {
"min" : 2 ,
"max" : 60 ,
"step" : 1
} ,
"condition" : "enable_balance_awareness"
} ,
"balance_low_threshold" : {
"description" : "低余额阈值" ,
"type" : "float" ,
"default" : 10 ,
"hint" : "余额小于等于该值进入偏低档。填 0 可关闭绝对余额判断,只按剩余比例判断。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_critical_threshold" : {
"description" : "危急余额阈值" ,
"type" : "float" ,
"default" : 3 ,
"hint" : "余额小于等于该值进入危急档;运行时不会高于低余额阈值。填 0 可关闭此项绝对值判断。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_low_percent_threshold" : {
"description" : "低余额比例(%) " ,
"type" : "float" ,
"default" : 15 ,
"hint" : "配置或自动识别到总额度时生效。填 0 可关闭比例判断。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_critical_percent_threshold" : {
"description" : "危急余额比例(%) " ,
"type" : "float" ,
"default" : 5 ,
"hint" : "运行时不会高于低余额比例。填 0 可关闭此项比例判断。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_message_cooldown_hours" : {
"description" : "低余额主动冷却(小时)" ,
"type" : "float" ,
"default" : 24 ,
"slider" : {
"min" : 1 ,
"max" : 168 ,
"step" : 1
} ,
"hint" : "余额持续偏低时,普通低余额最多按此间隔重新尝试;危急档使用一半间隔。首次进入新档位可立即产生一次候选。" ,
"condition" : "enable_balance_awareness"
} ,
"balance_include_amount_in_message" : {
"description" : "允许人格参考具体余额" ,
"type" : "bool" ,
"default" : true ,
"hint" : "开启后模型可自然提到具体余额;关闭后只知道余额偏低或危急。无论是否开启,都不会把接口地址、Key、JSON 字段等内部信息交给人格。" ,
"condition" : "enable_balance_awareness"
}
}
} ,
"recall_config" : {
"description" : "撤回增强" ,
"type" : "object" ,
"hint" : "记录、转述或拦截撤回消息,减少已撤回内容继续触发回复。" ,
"items" : {
"enable_recall_enhancement" : {
"description" : "启用撤回增强" ,
"type" : "bool" ,
"hint" : "总开关。启用后会感知 QQ/OneBot 撤回事件,并可用于发送前取消回复、短期缓存撤回消息转述和违禁词自动撤回。" ,
"default" : true
} ,
"enable_recall_cancel_reply" : {
"description" : "撤回触发消息时取消回复" ,
"type" : "bool" ,
"hint" : "开启后,收到 friend_recall 或 group_recall 时会记录被撤回的 message_id;如果 Bot 的回复尚未发出且触发/唤醒消息已撤回,则静默取消本次发送和后续分段。" ,
"default" : true ,
"condition" : "enable_recall_enhancement"
} ,
"enable_recall_message_cache" : {
"description" : "缓存撤回消息用于转述" ,
"type" : "bool" ,
"hint" : "开启后,短期缓存普通消息的文本摘要;含图片消息会临时写入本插件数据目录的 recall_message_images,用于撤回后转述原图,并受缓存秒数和磁盘上限自动清理。" ,
"default" : true ,
"condition" : "enable_recall_enhancement"
} ,
"enable_recall_transcribe_command" : {
"description" : "允许命令转述撤回消息" ,
"type" : "bool" ,
"hint" : "开启后允许通过命令查看当前会话最近撤回消息。私聊需要插件管理权限;群聊需要插件管理权限或群管理员权限。" ,
"default" : true ,
"condition" : "enable_recall_enhancement"
} ,
"recall_message_cache_ttl_seconds" : {
"description" : "撤回消息缓存秒数" ,
"type" : "float" ,
"hint" : "普通消息和撤回记录在内存中的保留时间。过期后无法再转述,也不再用于取消待发送回复。" ,
"slider" : {
"min" : 60 ,
"max" : 3600 ,
"step" : 30
} ,
"default" : 600 ,
"condition" : "enable_recall_enhancement"
} ,
"recall_message_cache_max_items" : {
"description" : "撤回消息缓存上限" ,
"type" : "int" ,
"hint" : "内存中最多保留多少条消息摘要。0 表示不按数量限制,但仍受缓存秒数限制。" ,
"slider" : {
"min" : 0 ,
"max" : 3000 ,
"step" : 50
} ,
"default" : 300 ,
"condition" : "enable_recall_enhancement"
} ,
"recall_message_image_cache_max_mb" : {
"description" : "撤回图片磁盘上限 MB" ,
"type" : "float" ,
"hint" : "含图片消息会短期复制到 recall_message_images 目录,便于撤回后转述原图。该项限制这个目录的最大体积;0 表示不按体积限制,但仍按缓存秒数清理。" ,
"slider" : {
"min" : 0 ,
"max" : 2048 ,
"step" : 32
} ,
"default" : 256 ,
"condition" : {
"enable_recall_message_cache" : true
}
} ,
"recall_message_cache_text_chars" : {
"description" : "撤回缓存文本长度" ,
"type" : "int" ,
"hint" : "单条文本/转述内容最多缓存的字符数。调大可以保留更多上下文,但会增加内存占用。" ,
"slider" : {
"min" : 80 ,
"max" : 2000 ,
"step" : 20
} ,
"default" : 500 ,
"condition" : {
"enable_recall_message_cache" : true
}
} ,
"enable_forbidden_word_recall" : {
"description" : "违禁词自动撤回" ,
"type" : "bool" ,
"hint" : "开启且词表非空时,Bot 自己待发送消息命中会优先拦截;已进入事件流的群消息或 Bot 自己消息命中时会尝试调用 delete_msg 撤回。能否成功取决于平台和 Bot 权限。" ,
"default" : false ,
"condition" : "enable_recall_enhancement"
} ,
"recall_forbidden_words" : {
"description" : "撤回违禁词表" ,
"type" : "list" ,
"hint" : "命中任一词时触发违禁词撤回。建议一行一个词;词表为空时不会执行自动撤回。" ,
"default" : [ ] ,
"condition" : "enable_forbidden_word_recall"
} ,
"recall_forbidden_scope" : {
"description" : "违禁词撤回范围" ,
"type" : "string" ,
"hint" : "bot_only 只检查 Bot 自己消息;group_only 检查群聊消息;bot_and_group 同时检查 Bot 自己消息和群聊消息。" ,
"default" : "bot_and_group" ,
"condition" : "enable_forbidden_word_recall"
} ,
"recall_forbidden_word_case_sensitive" : {
"description" : "违禁词大小写敏感" ,
"type" : "bool" ,
"hint" : "关闭时英文大小写不区分;开启时按原样匹配。" ,
"default" : false ,
"condition" : "enable_forbidden_word_recall"
}
}
} ,
"message_debounce_config" : {
"description" : "消息收口防抖" ,
"type" : "object" ,
"hint" : "等待用户补话并合并连续消息,必要时用轻量模型判断是否说完。" ,
"items" : {
"enable_message_debounce" : {
"description" : "启用消息收口防抖" ,
"type" : "bool" ,
"hint" : "消息收口总开关。开启后可分别设置文本、图片、转发消息的补话等待时间;旧版语义收口等待会作为文本补话等待的兼容默认值。" ,
"default" : true
} ,
"enable_smart_message_debounce" : {
"description" : "启用智能文本收口" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后先用本地规则快速放行明确完整的问题、问候、短互动和普通完整表达;“知道吗/问你个事/你猜”等短引子会直接短等补话,其他疑似半句话才短时调用轻量模型确认,并记录误判样本供下次判断参考。" ,
"default" : false ,
"condition" : "enable_message_debounce"
} ,
"SMART_MESSAGE_DEBOUNCE_PROVIDER_ID" : {
"description" : "智能收口小模型 Provider ID" ,
"type" : "string" ,
"hint" : "用于判断疑似没说完文本的轻量模型。明确完整的问题、短互动和普通完整表达会先由本地快判直接放行;短引子会直接等待补话。留空时跟随插件主模型。" ,
"default" : "" ,
"_special" : "select_provider" ,
"condition" : "enable_smart_message_debounce"
} ,
"smart_message_debounce_model_timeout_seconds" : {
"description" : "智能收口模型超时秒数" ,
"type" : "float" ,
"hint" : "只在本地规则判断像半句话时才调用小模型;超过该时间立刻使用本地启发式兜底,避免正常回复被模型判断拖慢。" ,
"slider" : {
"min" : 0.2 ,
"max" : 5 ,
"step" : 0.1
} ,
"default" : 0.8 ,
"condition" : "enable_smart_message_debounce"
} ,
"smart_message_debounce_wait_seconds" : {
"description" : "智能收口等待秒数" ,
"type" : "float" ,
"hint" : "本地规则或小模型判断用户还没说完时的总等待预算;小模型判断耗时会计入该秒数,而不是判断完成后再额外等待。完整发言不会额外等待。" ,
"slider" : {
"min" : 0 ,
"max" : 15 ,
"step" : 0.1
} ,
"default" : 3 ,
"condition" : "enable_smart_message_debounce"
} ,
"smart_message_debounce_learning_window_seconds" : {
"description" : "智能收口误判学习窗口" ,
"type" : "float" ,
"hint" : "如果刚判断已说完,但用户在该窗口内又补话,会记录为误判样本。" ,
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : "enable_smart_message_debounce"
} ,
"smart_message_debounce_examples_limit" : {
"description" : "智能收口样本提示数量" ,
"type" : "int" ,
"hint" : "每次判断时带给小模型的近期误判样本数量。0 表示不注入历史样本。" ,
"slider" : {
"min" : 0 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : "enable_smart_message_debounce"
} ,
"text_message_debounce_seconds" : {
"description" : "文本补话等待秒数" ,
"type" : "float" ,
"hint" : "用户发普通文本后等待补充的秒数。旧版“语义收口等待秒数”会迁移到这里;设为 0 表示文本不固定等待。" ,
"slider" : {
"min" : 0 ,
"max" : 8 ,
"step" : 0.1
} ,
"default" : 0 ,
"condition" : "enable_message_debounce"
} ,
"image_message_debounce_seconds" : {
"description" : "图片补话等待秒数" ,
"type" : "float" ,
"hint" : "用户只发图片、截图或表情包后等待补充说明的秒数。适合保留几秒,方便先图后文合并为同一轮。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 0.1
} ,
"default" : 8 ,
"condition" : "enable_message_debounce"
} ,
"forward_message_debounce_seconds" : {
"description" : "转发补话等待秒数" ,
"type" : "float" ,
"hint" : "用户只发合并转发/聊天记录后等待补充说明的秒数。设为 0 表示转发消息不额外等待。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 0.1
} ,
"default" : 0 ,
"condition" : "enable_message_debounce"
} ,
"text_message_debounce_max_wait_seconds" : {
"description" : "文本收口最长等待秒数" ,
"type" : "float" ,
"hint" : "普通文本/群聊文本使用滑动等待时的总时长上限。用户持续补话也不会超过这个时间;0 表示不额外限制,只使用内部安全上限。" ,
"slider" : {
"min" : 0 ,
"max" : 30 ,
"step" : 0.5
} ,
"default" : 12 ,
"condition" : "enable_message_debounce"
} ,
"message_debounce_max_merge_messages" : {
"description" : "最大合并消息数" ,
"type" : "int" ,
"hint" : "一次收口最多合并多少条补充消息。达到上限后会立刻结束等待进入回复链,避免连续补话一直拖住;0 表示不限制。" ,
"slider" : {
"min" : 0 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : "enable_message_debounce"
} ,
"enable_semantic_message_debounce" : {
"description" : "旧版语义收口开关" ,
"type" : "bool" ,
"hint" : "兼容旧配置。运行时会并入“消息收口防抖”,不再作为独立功能配置。" ,
"default" : true ,
"invisible" : true
} ,
"semantic_message_debounce_seconds" : {
"description" : "旧版语义收口等待秒数" ,
"type" : "float" ,
"hint" : "兼容旧配置。运行时会作为“文本补话等待秒数”的默认值。" ,
"default" : 8 ,
"invisible" : true
} ,
"private_image_vision_wait_seconds" : {
"description" : "单图延迟等待识图秒数" ,
"type" : "float" ,
"hint" : "这不是图片防抖时间;只在确认用户没有补充文字后生效。防抖结束后最多等待识图模型完成的时间,识图完成会立刻进入主链,不会等满该秒数。默认 30 秒;调低则更快进入兜底回复。" ,
"slider" : {
"min" : 0 ,
"max" : 90 ,
"step" : 1
} ,
"default" : 30 ,
"condition" : "enable_private_image_self_recognition"
} ,
"private_image_provider_timeout_seconds" : {
"description" : "单个识图模型超时秒数" ,
"type" : "float" ,
"hint" : "每个视觉 provider 单次最多等待多久;超时会临时降权并切换下一个可用视觉模型,避免某个上游 503 或重试过久拖慢整条私聊单图回复。默认 12 秒。" ,
"slider" : {
"min" : 3 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : "enable_private_image_self_recognition"
} ,
"private_image_vision_provider_priority" : {
"description" : "识图增强模型优先级" ,
"type" : "string" ,
"hint" : "astrbot_first: 优先使用 AstrBot 当前会话的默认图片转文字模型;plugin_first: 优先使用模型配置里的插件识图模型及其备用模型;recent_success_first: 优先复用同会话近期成功且仍在当前配置中的视觉模型。失败、超时或不支持图片时都会继续尝试后续候选。" ,
"default" : "astrbot_first" ,
"options" : [
"astrbot_first" ,
"plugin_first" ,
"recent_success_first"
] ,
"condition" : "enable_private_image_self_recognition"
} ,
"enable_context_image_captioning" : {
"description" : "上下文图片摘要补全" ,
"type" : "bool" ,
"hint" : "开启后,LLM 请求前会尝试把历史上下文里的 [图片]/【图片】占位替换为视觉摘要。优先复用图片视觉缓存;找不到原图源或识图超时时保留原占位,不编造内容。" ,
"default" : true
} ,
"context_image_caption_max_items" : {
"description" : "单轮上下文补全图片数" ,
"type" : "int" ,
"hint" : "一次 LLM 请求最多把多少条历史图片占位补成视觉摘要。达到上限后保留后续 [图片] 占位,避免长历史一次性触发过多识图。" ,
"slider" : {
"min" : 0 ,
"max" : 50 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : "enable_context_image_captioning"
} ,
"context_image_caption_timeout_seconds" : {
"description" : "上下文图片补全等待秒数" ,
"type" : "float" ,
"hint" : "历史上下文图片补全的单次等待预算。命中缓存通常很快;缓存未命中且视觉模型超时会放弃本次补全,不阻塞整轮回复太久。" ,
"slider" : {
"min" : 0 ,
"max" : 30 ,
"step" : 0.5
} ,
"default" : 8 ,
"condition" : "enable_context_image_captioning"
} ,
"enable_private_image_self_recognition" : {
"description" : "启用图片转述增强" ,
"type" : "bool" ,
"hint" : "开启后,私聊图片转述会额外判断图片、表情包、聊天截图里是否疑似出现当前角色自己、头像、名字或二创形象。图片是否等待用户补充说明由“消息收口防抖”的图片收口秒数控制。" ,
"default" : true
} ,
"enable_private_image_gif_enhancement" : {
"description" : "启用 GIF 动图强化" ,
"type" : "bool" ,
"hint" : "图片转述增强的可选子功能。开启后,动态 GIF 会抽取代表帧供视觉模型按时间顺序理解动作、表情变化和文字变化;关闭后按普通图片/GIF 原图路径处理。" ,
"default" : true ,
"condition" : "enable_private_image_self_recognition"
} ,
"private_image_gif_max_frames" : {
"description" : "GIF 表情包抽帧数" ,
"type" : "int" ,
"hint" : "动态 GIF 进入视觉转述时最多抽取多少个代表帧。帧数越多越能理解动作变化,但会增加识图耗时和视觉模型输入量。默认 4。" ,
"slider" : {
"min" : 1 ,
"max" : 8 ,
"step" : 1
} ,
"default" : 4 ,
"condition" : "enable_private_image_gif_enhancement"
} ,
"private_image_self_recognition_hint" : {
"description" : "图片转述增强:识别当前角色自己的线索" ,
"type" : "string" ,
"hint" : "用于私聊单图防抖后的视觉转述。只填写当前角色自己的头像、发色、服装、物种、常见表情包特征、OC 名称、聊天截图昵称等线索;不要填写用户性别、职业或与用户关系。视觉模型会据此判断图里是否疑似是当前角色自己。留空时仍会使用 AstrBot 人格与日程角色设定中的外貌线索。" ,
"default" : "" ,
"condition" : "enable_private_image_self_recognition"
} ,
"enable_private_image_vision_cache" : {
"description" : "启用重复图片转述缓存" ,
"type" : "bool" ,
"hint" : "开启后,同一张图片/表情包会按内容哈希复用上次视觉转述摘要,避免重复调用识图模型。会保留压缩预览图用于缓存管理,不保留原始大图,也不缓存最终聊天回复。" ,
"default" : true ,
"condition" : "enable_private_image_self_recognition"
} ,
"private_image_vision_cache_max_items" : {
"description" : "重复图片转述缓存上限" ,
"type" : "int" ,
"hint" : "最多保留多少条图片视觉摘要缓存。达到上限后会删除最久未命中的旧缓存。设为 0 表示不限制。" ,
"slider" : {
"min" : 0 ,
"max" : 2000 ,
"step" : 50
} ,
"default" : 300 ,
"condition" : "enable_private_image_vision_cache"
}
}
} ,
"private_followup_config" : {
"description" : "私聊触达节奏" ,
"type" : "object" ,
"hint" : "控制私聊空闲门槛、最小间隔、连续未回应降频和预约前静默。" ,
"items" : {
"enable_group_conversation_followup" : {
"description" : "启用群聊连续对话保持" ,
"type" : "bool" ,
"hint" : "开启后,用户在群里明确叫过 Bot 之后,后续短时间内即使没有继续 @,插件也会结合上下文判断是否仍在和 Bot 对话。关闭后,没 @ 或没回复 Bot 的群消息不会被自动续接。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_conversation_followup_seconds" : {
"description" : "群聊上下文续接判断秒数" ,
"type" : "int" ,
"hint" : "群里用户 @/回复 Bot 后,在这段时间内会结合上下文判断同一用户后续没 @ 的话是否仍在对 Bot 说;如果期间明显转向别人或群里已有其他人插入,则不会强行续接。设为 0 可关闭。" ,
"slider" : {
"min" : 0 ,
"max" : 600 ,
"step" : 5
} ,
"default" : 500 ,
"condition" : "enable_group_conversation_followup"
} ,
"group_conversation_followup_max_turns" : {
"description" : "群聊连续续接上限" ,
"type" : "int" ,
"hint" : "同一用户在不继续 @/回复 Bot 的情况下,最多连续续接多少轮。达到上限后自动断开,除非用户再次明确叫 Bot。设为 0 可关闭无 @ 续接。" ,
"slider" : {
"min" : 0 ,
"max" : 10 ,
"step" : 1
} ,
"default" : 1 ,
"condition" : "enable_group_conversation_followup"
} ,
"enable_group_air_reply_guard" : {
"description" : "启用群聊读空气防互刷" ,
"type" : "bool" ,
"hint" : "开启后,群聊明确 @/引用 Bot 也会先过一层防线: Bot 近期已多次回复,或话题进入晚安/谢谢/拜拜等收尾循环时,会静默不回,防止多个机器人互相引用刷屏。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_air_guard_window_seconds" : {
"description" : "读空气检测窗口秒数" ,
"type" : "int" ,
"hint" : "统计最近多少秒内 Bot 在本群回复过。建议 120-300 秒;越短越宽松。" ,
"slider" : {
"min" : 30 ,
"max" : 1800 ,
"step" : 10
} ,
"default" : 180 ,
"condition" : "enable_group_air_reply_guard"
} ,
"group_air_guard_max_bot_replies" : {
"description" : "窗口内最大 Bot 回复数" ,
"type" : "int" ,
"hint" : "窗口内 Bot 回复达到该次数后,后续明确唤醒也会硬拦截。建议 3,可有效压住机器人互刷。" ,
"slider" : {
"min" : 1 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 3 ,
"condition" : "enable_group_air_reply_guard"
} ,
"group_air_guard_polite_loop_limit" : {
"description" : "礼貌收尾循环上限" ,
"type" : "int" ,
"hint" : "窗口内 Bot 已回复过几次晚安/谢谢/拜拜等收尾话术后,再遇到类似消息就静默。建议 1-2。" ,
"slider" : {
"min" : 1 ,
"max" : 10 ,
"step" : 1
} ,
"default" : 2 ,
"condition" : "enable_group_air_reply_guard"
} ,
"idle_minutes" : {
"description" : "空闲多久后可主动问候(分钟)" ,
"type" : "int" ,
"hint" : "用户私聊最近活跃超过该时间后,才可能发送主动消息。" ,
"slider" : {
"min" : 5 ,
"max" : 1440 ,
"step" : 5
} ,
"default" : 60
} ,
"min_interval_minutes" : {
"description" : "同一用户最小主动间隔(分钟)" ,
"type" : "int" ,
"hint" : "连续未回复时会自动小幅拉长间隔,避免追问,但不会一下子拉到半天不出现。" ,
"slider" : {
"min" : 10 ,
"max" : 2880 ,
"step" : 10
} ,
"default" : 120
} ,
"proactive_unanswered_slowdown_start" : {
"description" : "未回应几次后开始降频" ,
"type" : "int" ,
"hint" : "同一用户连续不接 Bot 主动消息达到该次数后,开始拉长主动间隔。默认 1 表示第一次未回应后就开始放轻。" ,
"slider" : {
"min" : 1 ,
"max" : 10 ,
"step" : 1
} ,
"default" : 1
} ,
"proactive_unanswered_max_interval_multiplier" : {
"description" : "未回应最大间隔倍率" ,
"type" : "float" ,
"hint" : "连续未回应时,同一用户最小主动间隔最多放大到多少倍。默认 2.2,与旧版硬编码一致。" ,
"slider" : {
"min" : 1 ,
"max" : 8 ,
"step" : 0.1
} ,
"default" : 2.2
} ,
"friend_unanswered_max_cooldown_hours" : {
"description" : "次要用户未回应最长冷却(小时)" ,
"type" : "float" ,
"hint" : "次要用户持续不回应时,主动消息随机延后窗口的最长上限。默认 60 小时,与旧版硬编码一致。" ,
"slider" : {
"min" : 1 ,
"max" : 168 ,
"step" : 1
} ,
"default" : 60
} ,
"timer_pre_silence_minutes" : {
"description" : "预约前静默窗口(分钟)" ,
"type" : "int" ,
"hint" : "已有聊天临时预约时,距离预约时间不足该分钟数会暂停普通主动、链式追问和未回复补一句,避免抢在官方定时计划前打扰。若预约文本带有休息/睡觉/起床语义,会从预约创建起静默到到点。设为 0 只关闭普通预约的临近静默。" ,
"slider" : {
"min" : 0 ,
"max" : 240 ,
"step" : 5
} ,
"default" : 20
} ,
"check_interval_seconds" : {
"description" : "检查间隔(秒)" ,
"type" : "int" ,
"hint" : "后台每隔多少秒检查一次是否需要发送主动消息。" ,
"slider" : {
"min" : 60 ,
"max" : 3600 ,
"step" : 60
} ,
"default" : 300
} ,
"require_private_opt_in" : {
"description" : "限制私聊命令管理入口" ,
"type" : "bool" ,
"hint" : "开启后只限制命令管理入口;不会阻止 target_user_ids 自动预热。" ,
"default" : true
}
}
} ,
"proactive_generation_config" : {
"description" : "主动生成与人格判定" ,
"type" : "object" ,
"hint" : "控制主动消息生成模板、主动人格/世界观模型判定和上下文范围。" ,
"items" : {
"enable_llm_proactive_message" : {
"description" : "主动消息发送前调用 LLM 生成文本" ,
"type" : "bool" ,
"hint" : "开启后,主动消息只用规则决定是否发送和发送动机,真正文本会调用 AstrBot 默认人格生成;失败时才回退模板。" ,
"default" : true
} ,
"enable_proactive_chat_integration" : {
"description" : "联动 Proactive Chat" ,
"type" : "bool" ,
"hint" : "检测到 Proactive Chat 时,在其私聊主动消息发送前接入本插件的收件人边界、本地安全检查、TTS/分段去重和发送状态同步。不会修改或接管 Proactive Chat 的定时策略;未安装时保持开启也不会产生额外任务。" ,
"default" : true
} ,
"proactive_chat_bridge_review_mode" : {
"description" : "Proactive Chat 联动复核模式" ,
"type" : "string" ,
"hint" : "local 只做确定性本地检查,延迟最低;follow_proactive_review 跟随本插件主动终审配置,可结合关系、运行状态和表达习惯做模型终审,但会增加一次模型调用和等待。" ,
"options" : [
"local" ,
"follow_proactive_review"
] ,
"default" : "local" ,
"condition" : {
"enable_proactive_chat_integration" : true
}
} ,
"proactive_chat_bridge_collision_window_seconds" : {
"description" : "调度防撞窗口(秒)" ,
"type" : "int" ,
"hint" : "深度联动会在生成模型调用前检查两套主动链路。任一链路刚发送或正在发送时,另一条在此窗口内不再重复生成,避免几乎同时发出两条消息;不会改变 Proactive Chat 自身的长期触发频率。" ,
"slider" : {
"min" : 10 ,
"max" : 600 ,
"step" : 10
} ,
"default" : 90 ,
"condition" : {
"enable_proactive_chat_integration" : true
}
} ,
"proactive_prompt_template" : {
"description" : "主动消息提示词模板" ,
"type" : "text" ,
"hint" : "留空使用内置模板。可用变量:{{name}} {{reason}} {{action}} {{topic}} {{motive}} {{style_hint}} {{state_hint}} {{action_context}} {{timer_hint}} {{unanswered_count}} {{current_time}}。参考 proactive_chat 的静默主动任务结构。" ,
"default" : "" ,
"condition" : {
"enable_llm_proactive_message" : true
}
} ,
"enable_llm_proactive_persona_judge" : {
"description" : "主动计划人格/世界观判定" ,
"type" : "bool" ,
"hint" : "开启后,主动计划到点前会先让模型判断这个念头是否贴合当前角色、世界观和关系边界;可放行、改写、延后或丢弃。关闭后只使用本地判定。" ,
"default" : true
} ,
"PROACTIVE_PERSONA_JUDGE_PROVIDER_ID" : {
"description" : "主动人格判定模型" ,
"type" : "string" ,
"hint" : "留空时复用回复复核/陪伴通用模型。建议选择能稳定输出 JSON、理解角色边界的小到中型模型。" ,
"default" : "" ,
"_special" : "select_provider" ,
"condition" : {
"enable_llm_proactive_persona_judge" : true
}
} ,
"proactive_persona_judge_send_threshold" : {
"description" : "主动人格判定放行阈值" ,
"type" : "int" ,
"hint" : "模型判定为 send 但分数低于该阈值时,会自动转为延后。越高越克制,越低越容易放行。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 62 ,
"condition" : {
"enable_llm_proactive_persona_judge" : true
}
} ,
"proactive_persona_judge_cache_minutes" : {
"description" : "主动人格判定缓存(分钟)" ,
"type" : "int" ,
"hint" : "同一主动计划在该时间内复用模型判定结果,减少重复调用。计划内容、语义或触发来源变化后会自动失效。" ,
"slider" : {
"min" : 5 ,
"max" : 720 ,
"step" : 5
} ,
"default" : 180 ,
"condition" : {
"enable_llm_proactive_persona_judge" : true
}
} ,
"proactive_persona_judge_max_daily" : {
"description" : "主动人格判定每日模型上限" ,
"type" : "int" ,
"hint" : "全体用户每天最多实际调用多少次主动人格判定模型;稳定语义缓存命中不计次数。达到上限后继续使用本地人格、关系和风险规则,不会阻塞主动链。填 0 表示不调用该模型。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : {
"enable_llm_proactive_persona_judge" : true
}
} ,
"proactive_reply_context_hours" : {
"description" : "主动消息回复上下文保留时间(小时)" ,
"type" : "int" ,
"hint" : "用户在 Bot 主动消息后多少小时内发来的私聊,会向 LLM 注入上一条主动消息,避免把回复误判成全新对话。" ,
"slider" : {
"min" : 1 ,
"max" : 72 ,
"step" : 1
} ,
"default" : 12
}
}
} ,
"timer_config" : {
"description" : "预约主动执行" ,
"type" : "object" ,
"hint" : "临时预约与动作查岗是内建主动类别,无需独立开启;这里仅配置预约主动的发送执行方式。" ,
"items" : {
"enable_proactive_decorating_hooks" : {
"description" : "主动消息走装饰钩子" ,
"type" : "bool" ,
"hint" : "开启后,主动消息发送前会触发 AstrBot 的 OnDecoratingResultEvent,使其它消息装饰插件也能处理主动消息。" ,
"default" : true
} ,
"enable_precise_platform_send" : {
"description" : "主动消息优先使用精确平台发送" ,
"type" : "bool" ,
"hint" : "开启后会解析 unified_msg_origin,优先通过对应平台实例 send_by_session 发送,并在平台未运行时跳过;失败时回退 AstrBot 核心发送。" ,
"default" : true
} ,
"enable_proactive_quote_trigger_message" : {
"description" : "群回复/主动引用触发消息" ,
"type" : "bool" ,
"hint" : "开启后,群聊中明确 @、引用、唤醒或连续对话保持触发的 Bot 回复会引用当前消息;群聊主动插话会引用触发消息;模型预约的私聊主动若能追溯到同一私聊消息,也会引用。复读跟读/打断不会引用。" ,
"default" : false
} ,
"enable_quote_group_reply" : {
"description" : "引用普通群回复触发消息" ,
"type" : "bool" ,
"hint" : "总开关开启后生效。群聊中被 @、被引用、唤醒或连续对话保持触发的普通回复,会按策略引用当前触发消息或被引用的 Bot 旧消息。" ,
"default" : true
} ,
"quote_group_reply_once_per_target" : {
"description" : "连续同对象只首条引用" ,
"type" : "bool" ,
"hint" : "总开关和群回复引用开启后生效。同一群内连续回复同一个群友时,只在首次带引用;换成回复其他群友,或间隔超过连续对话窗口后,会重新引用一次。" ,
"default" : true
} ,
"enable_quote_group_interjection" : {
"description" : "引用群主动插话触发消息" ,
"type" : "bool" ,
"hint" : "总开关开启后生效。群主动插话会引用触发它的群消息;复读跟读和打断仍不会引用。" ,
"default" : true
} ,
"enable_quote_private_proactive" : {
"description" : "引用私聊主动触发消息" ,
"type" : "bool" ,
"hint" : "总开关开启后生效。模型预约等能追溯到某条私聊消息的主动发送,会引用那条触发消息。" ,
"default" : true
} ,
"quote_skip_short_reply_chars" : {
"description" : "短回复不引用阈值" ,
"type" : "int" ,
"hint" : "回复正文不超过该字数时不附带引用,适合避免“嗯嗯”“好哦”这类轻反应显得过重。0 表示不按长度跳过。" ,
"slider" : {
"min" : 0 ,
"max" : 120 ,
"step" : 1
} ,
"default" : 0
} ,
"quote_target_strategy" : {
"description" : "引用目标策略" ,
"type" : "string" ,
"hint" : "current=总是引用当前触发消息;quoted=用户引用 Bot 旧消息追问时优先引用被引用的旧消息;auto=当前等同 quoted 的保守自动策略,其他场景仍引用当前消息。" ,
"default" : "current"
} ,
"max_proactive_plan_lag_minutes" : {
"description" : "主动候选过期重排时间(分钟)" ,
"type" : "int" ,
"hint" : "如果插件停机或阻塞导致候选主动时间已过很久,则丢弃旧计划并重新安排,避免重启后补发过时消息。" ,
"slider" : {
"min" : 5 ,
"max" : 1440 ,
"step" : 5
} ,
"default" : 180
}
}
} ,
"daily_creative_config" : {
"description" : "日常问候与创作" ,
"type" : "object" ,
"hint" : "控制早晚问候、主动分享概率和 Bot 私下创作行为。" ,
"items" : {
"enable_daily_greetings" : {
"description" : "启用早午晚锚点问候" ,
"type" : "bool" ,
"hint" : "开启后每天会在早上、午间、晚间各生成一个随机候选问候窗口。仍受每日上限、最小间隔和免打扰限制,但不会完全依赖普通随机动机。" ,
"default" : true
} ,
"greeting_idle_minutes" : {
"description" : "问候前空闲门槛(分钟)" ,
"type" : "int" ,
"hint" : "早安、午安、晚间问候使用的空闲门槛。比普通主动消息短,避免你刚查看状态后整天都收不到问候。" ,
"slider" : {
"min" : 0 ,
"max" : 240 ,
"step" : 5
} ,
"default" : 30 ,
"condition" : {
"enable_daily_greetings" : true
}
} ,
"allow_insomnia_night_message" : {
"description" : "允许失眠时深夜主动消息" ,
"type" : "bool" ,
"hint" : "开启后,即使处于免打扰时间,若 Bot 当前叠加了失眠/浅睡等状态,也可能低概率发送一条低压力深夜消息。仍受每日上限和最小间隔限制。" ,
"default" : true
} ,
"proactive_share_probability" : {
"description" : "主动分享可做事项概率" ,
"type" : "int" ,
"hint" : "主动消息中分享“我刚刚做了什么/想到什么”的概率基准。实际是否发送还会受时间、状态、未回复次数影响。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 45
} ,
"enable_creative_writing" : {
"description" : "启用私下创作行为" ,
"type" : "bool" ,
"hint" : "开启后,Bot 会在闲暇时因为生活小事、日记碎片或梦境余温产生创作灵感,可能写小说、诗、随笔、剧本、设定集等文本;这是可选的私下行为,不会按小时生产,也不会一次写完整篇。" ,
"default" : true
} ,
"creative_inspiration_probability" : {
"description" : "创作灵感触发概率" ,
"type" : "float" ,
"hint" : "每轮调度中尝试开启新创作项目的概率。仍受冷却、活动项目数量和是否有灵感来源影响。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.2 ,
"condition" : {
"enable_creative_writing" : true
}
} ,
"creative_share_probability" : {
"description" : "小说节点透露概率" ,
"type" : "float" ,
"hint" : "Bot 写到开头、过半、完稿或想听读后感觉时,是否找时机向用户透露/征求观感的基础概率。用户反馈只作为灵感参考,创作方向仍由 Bot 自己决定。普通创作进度不会直接分享。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.28 ,
"condition" : {
"enable_creative_writing" : true
}
} ,
"creative_chars_per_session" : {
"description" : "每次创作字数" ,
"type" : "int" ,
"hint" : "每次闲暇创作行为大约写多少字。实际字数会根据人格关键词、聊天风格和当天能量上下浮动;创作只会在空闲时作为可选行为推进。" ,
"slider" : {
"min" : 60 ,
"max" : 1200 ,
"step" : 20
} ,
"default" : 220 ,
"condition" : {
"enable_creative_writing" : true
}
} ,
"creative_max_active_projects" : {
"description" : "最多同时创作项目数" ,
"type" : "int" ,
"hint" : "限制同时进行的创作项目数量,避免灵感过多导致状态发散。" ,
"slider" : {
"min" : 1 ,
"max" : 5 ,
"step" : 1
} ,
"default" : 2 ,
"condition" : {
"enable_creative_writing" : true
}
} ,
"creative_hidden_mode" : {
"description" : "创作默认低调进行" ,
"type" : "bool" ,
"hint" : "开启后,创作不会作为普通日常频繁分享,只在达到节点、想听读后感觉,或用户主动询问最近在做什么时作为可选回答素材。不会把作品走向交给用户决定。" ,
"default" : true ,
"condition" : {
"enable_creative_writing" : true
}
} ,
"creative_direction_prompt" : {
"description" : "创作方向提示词" ,
"type" : "text" ,
"hint" : "可选。用于长期引导私下创作的作品类型、题材、风格、主题和避雷,例如:优先创作轻悬疑和都市奇幻短篇;避免诗歌、校园恋爱和悲剧结局。会作用于新项目立项、已有项目大纲、正文续写和审校;人工大纲与人工修订的优先级更高。" ,
"default" : "" ,
"condition" : {
"enable_creative_writing" : true
}
}
}
} ,
"skill_growth_config" : {
"description" : "技能成长" ,
"type" : "object" ,
"hint" : "让 Bot 的能力熟练度随日程和经历缓慢变化。" ,
"items" : {
"enable_skill_growth_simulation" : {
"description" : "启用技能成长模拟" ,
"type" : "bool" ,
"hint" : "让 Bot 根据人格、世界观、可做事项和日程片段形成自己的能力熟悉度,并在对应日程中缓慢变化。能力状态只作为自我认知和表现参考,不会让 Bot 变成万能。" ,
"default" : true
} ,
"enable_personal_goals" : {
"description" : "启用非创作型个人目标" ,
"type" : "bool" ,
"hint" : "允许在陪伴面板中明确创建阅读、学习、健康、生活整理等长期目标。模型不会自行发明目标。" ,
"default" : true
} ,
"enable_personal_goal_auto_progress" : {
"description" : "按已完成日程自动推进" ,
"type" : "bool" ,
"hint" : "只有目标关键词与已经结束的日程片段相符时才推进,不会把计划中或进行中的活动算作完成。" ,
"default" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_personal_goals" : true
}
2026-07-24 00:25:43 +08:00
} ,
"personal_goal_share_cooldown_hours" : {
"description" : "目标进展分享冷却(小时)" ,
"type" : "int" ,
"hint" : "只有跨越里程碑、长时间停滞或完成时才形成主动候选。" ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 168 ,
"step" : 1
} ,
2026-07-24 00:25:43 +08:00
"default" : 12 ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_personal_goals" : true
}
2026-07-24 00:25:43 +08:00
} ,
"personal_goal_stall_days" : {
"description" : "停滞提醒天数" ,
"type" : "int" ,
"hint" : "进行中的目标超过该天数没有真实推进时,可形成一次低压力的主动分享。" ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
2026-07-24 00:25:43 +08:00
"default" : 3 ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_personal_goals" : true
}
2026-07-24 00:25:43 +08:00
} ,
"skill_growth_rate" : {
"description" : "技能成长倍率" ,
"type" : "float" ,
"hint" : "控制技能经验增长速度。建议 0.5-1.0;数值越大,等级提升越快。" ,
"slider" : {
"min" : 0.1 ,
"max" : 3 ,
"step" : 0.1
} ,
"default" : 1.0 ,
"condition" : {
"enable_skill_growth_simulation" : true
}
} ,
"skill_growth_custom_skills" : {
"description" : "自定义技能列表(兼容旧配置)" ,
"type" : "string" ,
"hint" : "兼容旧配置。新的自定义技能请在扩展页“学习”页的“技能成长”区域新增、隐藏、冻结或合并别名。" ,
"default" : "" ,
"condition" : {
"enable_skill_growth_simulation" : true
}
} ,
"enable_skill_growth_passive_injection" : {
"description" : "被动回复技能认知" ,
"type" : "bool" ,
"hint" : "开启后,普通聊天会注入 Bot 当前能力状态和自我认知。默认关闭;关闭时技能成长仍会结算,并可继续影响日程和能力边界。" ,
"default" : false ,
"condition" : {
"enable_skill_growth_simulation" : true
}
} ,
"enable_skill_growth_schedule_influence" : {
"description" : "技能约束日程表现" ,
"type" : "bool" ,
"hint" : "开启后,日程中涉及某项技能时会符合当前等级。高等级技能不再被普通任务难住,低等级技能才会需要指导或被基础问题卡住。" ,
"default" : true ,
"condition" : {
"enable_skill_growth_simulation" : true
}
} ,
"skill_growth_schedule_influence_strength" : {
"description" : "技能约束强度" ,
"type" : "float" ,
"hint" : "控制能力状态对日程表现的约束强度。建议 0.3-0.6;数值越大,越严格避免已经顺手的能力被普通任务难住。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.35 ,
"condition" : {
"enable_skill_growth_simulation" : true ,
"enable_skill_growth_schedule_influence" : true
}
}
}
} ,
"private_understanding_config" : {
"description" : "私聊理解增强" ,
"type" : "object" ,
"hint" : "启用私聊陪伴策略与用户关系理解。" ,
"items" : {
"enable_mai_style_integration" : {
"description" : "启用互动与表达基座" ,
"type" : "bool" ,
"hint" : "开启后,普通私聊/群聊被动回复和部分主动消息会在 AstrBot 默认人格之上参考回复风格提示词、互动边界、偏好/表达习惯和简短接话策略。本层不写身份事实,不替换 AstrBot 人格。" ,
"default" : true
}
}
} ,
"memory_habit_config" : {
"description" : "记忆、通用表达与习惯" ,
"type" : "object" ,
"hint" : "分别管理私聊长期画像、跨私聊/群聊的通用表达学习、用户习惯和吃什么候选。" ,
"items" : {
"enable_companion_memory" : {
"description" : "启用用户陪伴记忆" ,
"type" : "bool" ,
"hint" : "从私聊里轻量记录偏好、边界、重要信息和关系线索,并定期调用 LLM 整理成长期画像。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"memory_refresh_interval_minutes" : {
"description" : "长期画像整理间隔(分钟)" ,
"type" : "int" ,
"hint" : "达到间隔且有足够新记忆后,才会调用 LLM 把原始记忆整理成长期画像。" ,
"slider" : {
"min" : 30 ,
"max" : 4320 ,
"step" : 30
} ,
"default" : 360 ,
"condition" : {
"enable_companion_memory" : true
}
} ,
"max_companion_memory_items" : {
"description" : "最多保留陪伴记忆条数" ,
"type" : "int" ,
"hint" : "保留的原始用户记忆上限。越大越完整,但提示词会更长。" ,
"slider" : {
"min" : 8 ,
"max" : 120 ,
"step" : 4
} ,
"default" : 36 ,
"condition" : {
"enable_companion_memory" : true
}
} ,
"enable_expression_learning" : {
"description" : "启用跨会话表达方式学习" ,
"type" : "bool" ,
"hint" : "从允许的私聊或群聊里学习句长、口语起手、柔和句尾、自然叠词、笑声与停顿等表达特征;重复证据会归纳为场景规则,并用于私聊被动、私聊主动和群聊回复。群聊只保留抽象元数据,不保存原话;跨会话不会共享身份事实、关系称呼或私密内容。" ,
"default" : true
} ,
"expression_learning_mode" : {
"description" : "表达应用模式" ,
"type" : "string" ,
"hint" : "light 只学句长和少量标点;balanced 会按短确认、提问、请求、玩笑、情绪等场景应用有重复证据的表达规则;aggressive 会额外参考更多通过审核的短句和句尾样本,建议搭配手动审核。" ,
"default" : "balanced" ,
"options" : [
"light" ,
"balanced" ,
"aggressive"
] ,
"condition" : {
"enable_expression_learning" : true
}
} ,
"enable_expression_manual_review" : {
"description" : "观察素材手动审核" ,
"type" : "bool" ,
"hint" : "仅控制原始观察素材是否先进入待整理区;模型生成的情境表达与语法习惯始终必须人工审核后才能使用。" ,
"default" : false ,
"condition" : {
"enable_expression_learning" : true
}
} ,
"enable_expression_style_review" : {
"description" : "表达发送前审核" ,
"type" : "bool" ,
"hint" : "开启后,回复复核会额外检查表达学习过头、异常逗号/断句、照抄用户短句样本等问题;不会反复调用,只参与本轮一次改写。" ,
"default" : true ,
"condition" : {
"enable_expression_learning" : true
}
} ,
"max_learned_expression_items" : {
"description" : "每来源学习资料上限" ,
"type" : "int" ,
"hint" : "每个私聊或群聊来源最多保留多少条情境表达、语法习惯和观察素材;实际回复每轮最多召回 2 条已审核规则。" ,
"slider" : {
"min" : 12 ,
"max" : 240 ,
"step" : 12
} ,
"default" : 60 ,
"condition" : {
"enable_expression_learning" : true
}
} ,
"expression_private_learning_source_mode" : {
"description" : "私聊学习来源" ,
"type" : "string" ,
"hint" : "在陪伴面板的“学习”页管理来源与画像。owner 仅从主要用户学习;selected 仅从勾选私聊学习;all 从全部私聊学习。" ,
"default" : "owner" ,
2026-07-26 01:32:07 +08:00
"options" : [
"owner" ,
"selected" ,
"all"
] ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_private_learning_source_ids" : {
"description" : "私聊学习来源 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_learning_source_mode" : {
"description" : "群聊学习来源" ,
"type" : "string" ,
"hint" : "在陪伴面板的“学习”页管理来源与画像。群聊可归纳脱敏后的短表达、梗模板和句法;昵称、账号、关系、事实和支持片段不会进入回复。" ,
"default" : "disabled" ,
2026-07-26 01:32:07 +08:00
"options" : [
"disabled" ,
"selected" ,
"all"
] ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_learning_source_ids" : {
"description" : "群聊学习来源 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_learning_daily_batch_limit" : {
"description" : "群聊语义归纳每日批次上限" ,
"type" : "int" ,
"hint" : "所有群共享的每日模型归纳批次上限;情境表达和语法习惯共用已有群片段整理调用,不会额外发起模型请求。" ,
"default" : 6 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 50 ,
"step" : 1
} ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_learning_min_new_messages" : {
"description" : "每批最少新增群消息" ,
"type" : "int" ,
"hint" : "只统计上次归纳后新增的群消息,数量不足时不要求模型归纳表达规则。" ,
"default" : 20 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 5 ,
"max" : 80 ,
"step" : 5
} ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_private_application_mode" : {
"description" : "私聊使用范围" ,
"type" : "string" ,
"hint" : "在陪伴面板的“学习”页管理使用范围。控制哪些私聊会使用去标识的全局表达底色;本地表达规则只对对应学习来源生效。" ,
"default" : "all" ,
2026-07-26 01:32:07 +08:00
"options" : [
"all" ,
"selected"
] ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_private_application_user_ids" : {
"description" : "私聊使用对象 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_application_mode" : {
"description" : "群聊使用范围" ,
"type" : "string" ,
"hint" : "在陪伴面板的“学习”页管理使用范围。仅影响 Bot 的回复口感;不会把私聊或群聊原话、昵称、关系和事实带入群聊。" ,
"default" : "all" ,
2026-07-26 01:32:07 +08:00
"options" : [
"disabled" ,
"all" ,
"selected"
] ,
2026-07-24 00:25:43 +08:00
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"expression_group_application_ids" : {
"description" : "群聊使用对象 ID" ,
"type" : "list" ,
"default" : [ ] ,
"invisible" : true ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_expression_learning" : true
}
2026-07-24 00:25:43 +08:00
} ,
"enable_user_habit_learning" : {
"description" : "启用用户习惯画像" ,
"type" : "bool" ,
"hint" : "记录用户常在什么时段做什么、问什么;普通回复只在当前前后约 1 小时且本轮话题相关时少量注入,主动消息可用于到点关心。旧习惯会随时间变弱。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"user_habit_min_count" : {
"description" : "习惯成型次数" ,
"type" : "int" ,
"hint" : "同一时段同类行为至少出现多少次,才会作为用户习惯线索。旧习惯会衰减,普通回复还要求当前时段和本轮话题相关。" ,
"slider" : {
"min" : 2 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 3 ,
"condition" : {
"enable_user_habit_learning" : true
}
} ,
"user_habit_max_items" : {
"description" : "习惯条目上限" ,
"type" : "int" ,
"hint" : "每个私聊对象最多保留多少条行为习惯模式,超过后优先保留高频和近期条目。" ,
"slider" : {
"min" : 8 ,
"max" : 80 ,
"step" : 4
} ,
"default" : 24 ,
"condition" : {
"enable_user_habit_learning" : true
}
}
}
} ,
"emotion_relationship_config" : {
"description" : "意图与关系状态" ,
"type" : "object" ,
"hint" : "维护用户意图、关系温度、回复策略和边界收敛;Bot 自身情绪模拟已移至“实验性功能”。" ,
"items" : {
"enable_intent_emotion_analysis" : {
"description" : "启用本地意图/情绪快判" ,
"type" : "bool" ,
"hint" : "私聊消息进入时用本地规则快判求助、低落、玩笑、亲近和边界,并带置信度影响本轮策略。低置信度结果只记录不注入,避免关键词误伤。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_relationship_state_machine" : {
"description" : "启用关系距离感" ,
"type" : "bool" ,
"hint" : "根据用户的边界、亲近、冷淡、玩笑、长期互动和是否回应主动消息,调整 Bot 的距离感、主动频率和相处分寸。Bot 自身被刺到后的短期余波由“实验性功能 → 情绪模拟”单独控制。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_relationship_analysis" : {
"description" : "启用模型关系站位分析" ,
"type" : "bool" ,
"hint" : "阶段性使用完整人格和互动数据,让模型复核陌生/熟悉/亲近及打扰偏好。关闭后不再产生“关系分析”模型 Token;关系距离感、本地边界判断和基于互动次数/回复率的兜底仍可继续工作。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_response_self_review" : {
"description" : "旧版回复/主动复核总开关" ,
"type" : "bool" ,
"hint" : "仅用于兼容旧配置。新版请分别使用被动回复复核和主动消息终审开关。" ,
"default" : true ,
"invisible" : true
} ,
"enable_passive_response_review" : {
"description" : "启用被动回复复核" ,
"type" : "bool" ,
"hint" : "控制用户消息触发的回复复核:用于私聊普通回复,也覆盖群聊答疑唤醒的插话保护;关闭后不会影响主动私聊终审。最低限度的本地事实与安全纠偏仍会保留。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_framework_error_leak_guard" : {
"description" : "拦截框架异常文本外发" ,
"type" : "bool" ,
"hint" : "默认开启。阻止 Provider/API 报错、数据库异常、工具循环总结和 Agent 内部执行摘要直接发进聊天。关闭后不再执行 framework_error/tool_loop_summary 关键词拦截;回复复核、重复回复保护、违禁词、内部控制标签和孤立工具发送回执保护不受影响。若模型正常正文经常讨论 API error、image_url 等技术词而被误拦,可关闭此项。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_proactive_message_review" : {
"description" : "主动私聊发送前终审" ,
"type" : "bool" ,
"hint" : "仅作用于主动私聊发送前的模型终审;可以在被动回复复核关闭时单独开启,不处理普通私聊回复或群聊消息。关闭后不调用主动终审模型,但仍保留必要的本地来源与安全校验。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_smart_silence" : {
"description" : "启用智能沉默" ,
"type" : "bool" ,
"hint" : "私聊和群聊都会使用。开启后,会在发送前调用小模型判断是否直接取消本轮回复,而不是继续发一句确认、追问或解释。默认只在用户明确表达边界时触发;可切到上下文模型判断。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"smart_silence_judge_mode" : {
"description" : "智能沉默判断模式" ,
"type" : "string" ,
"hint" : "boundary_only: 仅在用户明确说别聊、别问、换话题、不用回复等边界时调用模型。contextual: 短句收尾、忙了/睡了、敷衍回应、群聊普通反应等也可进入模型判断,更智能但更依赖模型质量。" ,
"default" : "boundary_only" ,
"options" : [
"boundary_only" ,
"contextual"
] ,
"condition" : {
"enable_smart_silence" : true
}
} ,
"smart_silence_min_confidence" : {
"description" : "智能沉默最低置信度" ,
"type" : "float" ,
"hint" : "小模型判定为 silent 且置信度达到该值时才真正吞掉回复。值越高越保守,默认 0.66。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.66 ,
"condition" : {
"enable_smart_silence" : true
}
} ,
"smart_silence_model_timeout_seconds" : {
"description" : "智能沉默超时秒数" ,
"type" : "float" ,
"hint" : "小模型判定最长等待时间。超时会默认放行,避免正常回复被拖住。" ,
"slider" : {
"min" : 0.2 ,
"max" : 5 ,
"step" : 0.1
} ,
"default" : 1.2 ,
"condition" : {
"enable_smart_silence" : true
}
} ,
"response_review_mode" : {
"description" : "旧版回复复核模式" ,
"type" : "string" ,
"hint" : "仅用于兼容旧配置。新版请使用被动回复复核模式。" ,
"default" : "severe_only" ,
"options" : [
"local_only" ,
"severe_only" ,
"full"
] ,
"invisible" : true
} ,
"passive_review_mode" : {
"description" : "被动回复复核模式" ,
"type" : "string" ,
"hint" : "local_only 只做本地识别;severe_only 只让严重问题进入模型复核;full 会让更多普通被动回复参与模型改写,可能增加延迟。" ,
"default" : "severe_only" ,
"options" : [
"local_only" ,
"severe_only" ,
"full"
] ,
"condition" : {
"enable_passive_response_review" : true
}
} ,
"passive_review_strength" : {
"description" : "被动回复复核强度" ,
"type" : "string" ,
"hint" : "lenient 允许纠正但不会因模型复读判断直接吞掉回复;balanced 允许取消高置信重复回复;strict 保留严格拦截行为。" ,
"default" : "lenient" ,
"options" : [
"lenient" ,
"balanced" ,
"strict"
] ,
"condition" : {
"enable_passive_response_review" : true
}
} ,
"proactive_review_mode" : {
"description" : "主动消息终审模式" ,
"type" : "string" ,
"hint" : "local_only 只做本地安全检查;severe_only 仅在本地发现风险时进入模型;full 对每条准备发送的主动消息执行模型终审。" ,
"default" : "full" ,
"options" : [
"local_only" ,
"severe_only" ,
"full"
] ,
"condition" : {
"enable_proactive_message_review" : true
}
} ,
"proactive_review_strength" : {
"description" : "主动复核强度" ,
"type" : "string" ,
"hint" : "lenient 默认宽松,只硬拦截隐私泄露、串台和高风险候选,模型的普通延后/取消会尽量降级为发送或改写;balanced 会保留延后但减少直接取消;strict 会按复核模型原判拦截。" ,
"default" : "lenient" ,
"options" : [
"lenient" ,
"balanced" ,
"strict"
] ,
"condition" : {
"enable_proactive_message_review" : true
}
} ,
"proactive_review_hard_risk_threshold" : {
"description" : "硬拦截风险阈值" ,
"type" : "float" ,
"hint" : "本地语义风险达到该值时,即使宽松模式也会直接取消主动候选。值越高越少拦截;默认 0.70。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.7 ,
"condition" : {
"enable_proactive_message_review" : true
}
} ,
"proactive_review_low_score_threshold" : {
"description" : "低价值分数阈值" ,
"type" : "float" ,
"hint" : "标准/严格强度下,主动候选自然度/价值分低于该值且打扰压力较高时会延后。值越低越少延后;默认 0.34。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.34 ,
"condition" : {
"enable_proactive_message_review" : true
}
} ,
"proactive_review_pressure_threshold" : {
"description" : "打扰压力阈值" ,
"type" : "float" ,
"hint" : "标准/严格强度下,打扰压力达到该值且候选分数偏低时会延后。值越高越少延后;默认 0.55。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.55 ,
"condition" : {
"enable_proactive_message_review" : true
}
} ,
"response_review_max_chars" : {
"description" : "被动回复长度阈值" ,
"type" : "int" ,
"hint" : "用于判断普通被动回复是否偏长。默认模式下,短闲聊被扩写成关心清单、建议清单或天气小作文时也会进入复核;full 模式会更积极地复核普通偏长回复。" ,
"slider" : {
"min" : 80 ,
"max" : 900 ,
"step" : 20
} ,
"default" : 260 ,
"condition" : {
"enable_passive_response_review" : true
}
} ,
"enable_passive_topic_suppression" : {
"description" : "启用普通回复重复话题抑制" ,
"type" : "bool" ,
"hint" : "记录最近普通回复的切口,减少反复使用同一类关心、问候、解释方式。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"passive_topic_memory_hours" : {
"description" : "普通回复话题记忆时长(小时)" ,
"type" : "int" ,
"hint" : "在这段时间内,插件会提示模型避免重复最近普通回复里的相似切口。" ,
"slider" : {
"min" : 1 ,
"max" : 72 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_passive_topic_suppression" : true
}
} ,
"enable_dialogue_episode_memory" : {
"description" : "启用对话片段记忆" ,
"type" : "bool" ,
"hint" : "定期从 AstrBot 当前私聊会话中总结共同经历、情绪余味和可续话头;后续只择要注入最近或相关片段,让回复更有连续感但不堆提示词。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"episode_memory_refresh_messages" : {
"description" : "对话片段整理消息数阈值" ,
"type" : "int" ,
"hint" : "用户累计多少条新私聊消息后,允许整理一次对话片段记忆。" ,
"slider" : {
"min" : 3 ,
"max" : 40 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_dialogue_episode_memory" : true
}
} ,
"episode_memory_refresh_minutes" : {
"description" : "对话片段整理时间阈值(分钟)" ,
"type" : "int" ,
"hint" : "距离上次整理超过该时间后,即使消息数不多,也允许整理一次最近对话片段。" ,
"slider" : {
"min" : 15 ,
"max" : 1440 ,
"step" : 15
} ,
"default" : 90 ,
"condition" : {
"enable_dialogue_episode_memory" : true
}
} ,
"max_dialogue_episodes" : {
"description" : "最多保留对话片段数量" ,
"type" : "int" ,
"hint" : "每个私聊对象最多保留多少段共同经历摘要;实际回复时只会择要使用少量片段。" ,
"slider" : {
"min" : 3 ,
"max" : 40 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : {
"enable_dialogue_episode_memory" : true
}
} ,
"enable_open_loop_tracking" : {
"description" : "启用未完成约定追踪" ,
"type" : "bool" ,
"hint" : "主要从对话片段整理中提取那些还留着、之后可能会回头接的事;规则只即时记录明确提醒/记住类表达,普通回复里会并入近期共同经历。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
}
}
} ,
"external_memory_config" : {
"description" : "外部记忆插件协同" ,
"type" : "object" ,
"hint" : "统一接入已适配的外部长期记忆插件。当前支持“我会牢牢记住你”/MemoryCompanion 与 LivingMemory;检测到不同插件时会展开各自适用的协同配置。" ,
"items" : {
"memory_companion_context_timeout_seconds" : {
"description" : "记忆上下文超时(秒)" ,
"type" : "float" ,
"hint" : "插件主动、日程、QQ 空间、创作等链路读取记忆插件上下文的单项等待上限。超时会跳过该项,不阻塞主链。建议 0.8-1.5 秒。" ,
"default" : 1.2 ,
"slider" : {
"min" : 0.2 ,
"max" : 6.0 ,
"step" : 0.1
} ,
2026-07-26 01:32:07 +08:00
"condition" : { }
2026-07-24 00:25:43 +08:00
} ,
"enable_memory_companion_emotional_drift" : {
"description" : "情绪漂移联动" ,
"type" : "bool" ,
"hint" : "从“我会牢牢记住你”拉取待处理情绪事件(伤痕触动/温暖回忆/脆弱共鸣),按安全阀应用到 Bot 当前能量和心情底色。每次私聊和主动消息生成前触发。" ,
"default" : true ,
2026-07-26 01:32:07 +08:00
"condition" : { }
2026-07-24 00:25:43 +08:00
} ,
"enable_memory_companion_cross_window_emotion" : {
"description" : "跨窗口情绪连续性" ,
"type" : "bool" ,
"hint" : "拉取情绪漂移时同时获取全局跨会话情绪摘要,以 30% 强度叠加到当前会话。如窗口 A 刚翻到伤痕记忆,窗口 B 的 Bot 也会微妙低落,但不泄露具体内容。" ,
"default" : true ,
"condition" : {
"enable_memory_companion_emotional_drift" : true
}
} ,
"enable_memory_companion_dream_fragment" : {
"description" : "梦境碎片写入" ,
"type" : "bool" ,
"hint" : "日记生成后将首条梦境碎片写入“我会牢牢记住你”,带上 dream_fragment 标签和查询锚点,支持跨会话梦境连续性。" ,
"default" : true ,
2026-07-26 01:32:07 +08:00
"condition" : { }
2026-07-24 00:25:43 +08:00
} ,
"enable_memory_companion_open_loop_search" : {
"description" : "未完成话题取材" ,
"type" : "bool" ,
"hint" : "主动消息生成前从“我会牢牢记住你”检索未完成的承诺和话题,注入到主动消息提示词中,形成承诺兑现闭环。" ,
"default" : true ,
2026-07-26 01:32:07 +08:00
"condition" : { }
2026-07-24 00:25:43 +08:00
} ,
"enable_memory_companion_feature_context" : {
"description" : "功能上下文读取" ,
"type" : "bool" ,
"hint" : "主动消息生成/复核、当前状态问答、每日穿搭、自然语言生图、QQ 空间互动、群聊主动插话、私下创作和陪伴答疑等链路按需读取“我会牢牢记住你”的结构化上下文。关闭后这些链路不会主动召回记忆。" ,
"default" : true ,
2026-07-26 01:32:07 +08:00
"condition" : { }
2026-07-24 00:25:43 +08:00
} ,
"enable_memory_companion_private_recall" : {
"description" : "私聊选择性长期召回" ,
"type" : "bool" ,
"hint" : "当用户明确提到以前、约定、称呼、边界或稳定偏好时,从当前私聊会话召回最多 3 条相关长期记忆。普通闲聊不会检索,不读取其他私聊或群聊。" ,
"default" : true ,
"condition" : {
"enable_memory_companion_feature_context" : true
}
} ,
"memory_companion_context_top_k" : {
"description" : "上下文召回条数" ,
"type" : "int" ,
"hint" : "每次从“我会牢牢记住你”召回记忆时的最大条数。条数越多上下文越完整,但提示词更长、Token 消耗更多。" ,
"default" : 5 ,
"slider" : {
"min" : 1 ,
"max" : 10 ,
"step" : 1
} ,
"condition" : {
"enable_memory_companion_feature_context" : true
}
} ,
"memory_companion_context_max_chars" : {
"description" : "上下文最大字符数" ,
"type" : "int" ,
"hint" : "单次召回记忆上下文的最大字符数上限。超过会被截断。建议 600-1200。" ,
"default" : 900 ,
"slider" : {
"min" : 240 ,
"max" : 1800 ,
"step" : 60
} ,
"condition" : {
"enable_memory_companion_feature_context" : true
}
}
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_config" : {
"description" : "私密阅读/书柜夹层" ,
2026-07-24 00:25:43 +08:00
"type" : "object" ,
2026-07-26 01:32:07 +08:00
"hint" : "控制私下阅读、推荐请求、视觉读后感和阅读偏好。" ,
2026-07-24 00:25:43 +08:00
"items" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_integration" : {
"description" : "启用夹层阅读素材" ,
2026-07-24 00:25:43 +08:00
"type" : "bool" ,
2026-07-26 01:32:07 +08:00
"hint" : "检测到可用素材能力时,允许作为低频私下阅读素材来源。缺少对应能力时会自动跳过,不影响其他功能。" ,
"default" : false
} ,
"enable_private_reading_boredom_read" : {
"description" : "空闲时私下阅读" ,
"type" : "bool" ,
"hint" : "当 Bot 比较空、无聊或夜里休息时,低频搜索并阅读符合偏好的短篇内容,形成内部印象和书柜夹层记录。" ,
"default" : false ,
"condition" : {
"enable_private_reading_integration" : true
}
} ,
"enable_private_reading_ask_recommendation" : {
"description" : "向用户征求推荐" ,
"type" : "bool" ,
"hint" : "当夹层阅读素材可用且 Bot 比较无聊时,低频主动私聊询问用户有没有合适的私密阅读推荐。" ,
"default" : false ,
"condition" : {
"enable_private_reading_integration" : true
}
2026-07-24 00:25:43 +08:00
} ,
2026-07-26 01:32:07 +08:00
"enable_private_reading_preference_influence" : {
"description" : "评分偏好影响私聊" ,
2026-07-24 00:25:43 +08:00
"type" : "bool" ,
2026-07-26 01:32:07 +08:00
"hint" : "开启后,当书柜夹层阅读评分样本足够时,会把稳定偏好作为私聊私密互动的弱背景。它不会暴露评分来源,也不会覆盖 AstrBot 人格。" ,
2026-07-24 00:25:43 +08:00
"default" : true ,
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_integration" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_preference_min_ratings" : {
"description" : "偏好生效最少评分数" ,
2026-07-24 00:25:43 +08:00
"type" : "int" ,
2026-07-26 01:32:07 +08:00
"hint" : "累计评分达到该数量后,偏好画像才会注入私聊回复,避免一两次评分就过拟合。" ,
2026-07-24 00:25:43 +08:00
"slider" : {
2026-07-26 01:32:07 +08:00
"min" : 1 ,
"max" : 30 ,
2026-07-24 00:25:43 +08:00
"step" : 1
} ,
2026-07-26 01:32:07 +08:00
"default" : 5 ,
2026-07-24 00:25:43 +08:00
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_preference_influence" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_preference_max_terms" : {
"description" : "偏好注入最多词条" ,
"type" : "int" ,
"hint" : "每次私聊注入最多参考多少个高分偏好词。越多越细,但也会增加上下文和风格偏移。" ,
2026-07-24 00:25:43 +08:00
"slider" : {
2026-07-26 01:32:07 +08:00
"min" : 2 ,
"max" : 20 ,
"step" : 1
2026-07-24 00:25:43 +08:00
} ,
2026-07-26 01:32:07 +08:00
"default" : 8 ,
2026-07-24 00:25:43 +08:00
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_preference_influence" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_min_interval_hours" : {
"description" : "夹层阅读最小间隔(小时)" ,
2026-07-24 00:25:43 +08:00
"type" : "int" ,
2026-07-26 01:32:07 +08:00
"hint" : "低频阅读触发的最小间隔,避免频繁搜索和消耗视觉模型。" ,
2026-07-24 00:25:43 +08:00
"slider" : {
2026-07-26 01:32:07 +08:00
"min" : 4 ,
"max" : 168 ,
2026-07-24 00:25:43 +08:00
"step" : 1
} ,
2026-07-26 01:32:07 +08:00
"default" : 18 ,
2026-07-24 00:25:43 +08:00
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_boredom_read" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_max_photo_count" : {
"description" : "夹层阅读页数上限" ,
2026-07-24 00:25:43 +08:00
"type" : "int" ,
2026-07-26 01:32:07 +08:00
"hint" : "只选择页数不多、方便 Bot 理解和形成读后印象的短篇内容。详情里没有页数或超过该上限的候选会被跳过。" ,
2026-07-24 00:25:43 +08:00
"slider" : {
2026-07-26 01:32:07 +08:00
"min" : 8 ,
"max" : 120 ,
2026-07-24 00:25:43 +08:00
"step" : 1
} ,
2026-07-26 01:32:07 +08:00
"default" : 60 ,
2026-07-24 00:25:43 +08:00
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_boredom_read" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_share_probability" : {
"description" : "阅读后主动提起概率" ,
2026-07-24 00:25:43 +08:00
"type" : "float" ,
2026-07-26 01:32:07 +08:00
"hint" : "Bot 读完后是否在合适时机提起。具体是害羞、坦然、嘴硬还是转移话题交给人格判断;不会发送链接或资源。" ,
2026-07-24 00:25:43 +08:00
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
2026-07-26 01:32:07 +08:00
"default" : 0.18 ,
2026-07-24 00:25:43 +08:00
"condition" : {
2026-07-26 01:32:07 +08:00
"enable_private_reading_integration" : true
2026-07-24 00:25:43 +08:00
}
} ,
2026-07-26 01:32:07 +08:00
"private_reading_ask_probability" : {
"description" : "征求推荐触发概率" ,
2026-07-24 00:25:43 +08:00
"type" : "float" ,
"hint" : "每次满足低频触发条件时,是否安排一次向用户征求推荐的主动候选。" ,
"slider" : {
"min" : 0 ,
"max" : 1 ,
"step" : 0.05
} ,
"default" : 0.16 ,
"condition" : {
"enable_private_reading_ask_recommendation" : true
}
} ,
"private_reading_default_keywords" : {
"description" : "夹层阅读默认搜索关键词" ,
"type" : "string" ,
"hint" : "逗号分隔。会与用户偏好一起作为搜索候选。" ,
"default" : "纯爱,恋爱,同人" ,
"condition" : {
"enable_private_reading_integration" : true
}
} ,
"private_reading_blocked_tags" : {
"description" : "夹层阅读过滤标签" ,
"type" : "string" ,
"hint" : "逗号分隔。候选详情标签命中任一项时会跳过,不下载、不入柜。" ,
"default" : "連載中,長篇,青年漫" ,
"condition" : {
"enable_private_reading_integration" : true
}
}
}
} ,
"group_observation_config" : {
"description" : "群聊观察" ,
"type" : "object" ,
"hint" : "控制群聊陪伴、名单模式、群上下文注入和人格降噪。" ,
"items" : {
"enable_group_companion" : {
"description" : "启用群聊陪伴观察" ,
"type" : "bool" ,
"hint" : "开启后,插件会在目标群里静默观察群聊气氛、群友发言和常见梗;默认不主动插话,只在 AstrBot 本身触发群聊回复时注入上下文。" ,
"default" : true
} ,
"group_access_mode" : {
"description" : "群聊启用模式" ,
"type" : "string" ,
"hint" : "whitelist: 只启用白名单群;blacklist: 除黑名单外所有群都启用。为避免误观察,默认使用白名单。" ,
"options" : [
"whitelist" ,
"blacklist"
] ,
"labels" : [
"白名单模式" ,
"黑名单模式"
] ,
"default" : "whitelist" ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_whitelist_ids" : {
"description" : "群聊陪伴白名单群号" ,
"type" : "list" ,
"hint" : "白名单模式下,只有这些群会启用群聊陪伴观察。旧配置 target_group_ids 也会自动作为白名单兼容。" ,
"default" : [ ] ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_blacklist_ids" : {
"description" : "群聊陪伴黑名单群号" ,
"type" : "list" ,
"hint" : "黑名单模式下,这些群不会启用群聊陪伴观察。" ,
"default" : [ ] ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_context_injection" : {
"description" : "群聊回复前注入观察上下文" ,
"type" : "bool" ,
"hint" : "当 AstrBot 本身触发群聊 LLM 回复时,注入群气氛、最近消息、群内常见词和当前发言者的群内观察。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_image_understanding" : {
"description" : "群聊图片理解增强" ,
"type" : "bool" ,
"hint" : "开启后,只在允许观察的群中后台理解群成员发送的图片,并把摘要写入插件图片缓存和群聊观察。相同图片会复用缓存;普通群消息不等待,只有真正触发回复时才有限等待。建议同时关闭 AstrBot 官方“自动理解图片”,避免同一张图重复识别。" ,
"default" : false ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_image_vision_wait_seconds" : {
"description" : "群聊回复等待图片理解秒数" ,
"type" : "float" ,
"hint" : "仅在 Bot 已经准备回复当前群消息时等待视觉摘要;提前完成会立即继续,超时后主回复照常进行且后台识图不会取消。设为 0 表示回复不等待,只使用已经完成的结果。" ,
"slider" : {
"min" : 0 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_group_image_understanding" : true
}
} ,
"group_image_max_images" : {
"description" : "单条群消息识图上限" ,
"type" : "int" ,
"hint" : "一条群消息最多交给视觉模型理解多少张图片。超出的图片仍保留原始消息占位,但不会进入本插件识图任务。设为 0 等同于不处理群图。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 4 ,
"condition" : {
"enable_group_image_understanding" : true
}
} ,
"enable_group_injection_guard" : {
"description" : "群聊防注入" ,
"type" : "bool" ,
"hint" : "拦截群友通过改称呼、改语气、改设定或改输出格式等话术污染群聊上下文和长期观察;不影响正常回复,只阻止学习、沉淀和再次注入。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_persona_denoise" : {
"description" : "群聊人格降噪" ,
"type" : "bool" ,
"hint" : "群聊回复时降低私聊腔、状态汇报和私聊关系外溢,让 Bot 更贴当前群话题。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
}
}
} ,
"forward_message_config" : {
"description" : "合并消息适配" ,
"type" : "object" ,
"hint" : "控制合并转发读取、嵌套解析、图片识别和注入方式。" ,
"items" : {
"enable_forward_message_adaptation" : {
"description" : "启用合并消息自然阅读" ,
"type" : "bool" ,
"hint" : "当本轮消息或引用消息中包含合并转发时,自动读取节点并整理成聊天记录上下文,让 Bot 按发言顺序、人物和话题自然理解。" ,
"default" : true
} ,
"forward_message_mode" : {
"description" : "合并消息适配方式" ,
"type" : "string" ,
"hint" : "注入:把整理后的原始聊天记录直接交给主模型阅读;转述:先用合并消息转述模型压成自然记录,再交给主模型。二选一。" ,
"options" : [
"inject" ,
"transcribe"
] ,
"labels" : [
"注入" ,
"转述"
] ,
"default" : "inject" ,
"condition" : {
"enable_forward_message_adaptation" : true
}
} ,
"forward_message_max_messages" : {
"description" : "合并消息最多读取条数" ,
"type" : "int" ,
"hint" : "单次最多展开多少条合并消息节点。条数越多越完整,但会增加上下文长度。" ,
"slider" : {
"min" : 5 ,
"max" : 300 ,
"step" : 5
} ,
"default" : 80 ,
"condition" : {
"enable_forward_message_adaptation" : true
}
} ,
"forward_message_max_chars" : {
"description" : "合并消息注入字数上限" ,
"type" : "int" ,
"hint" : "整理后的合并消息上下文最多注入多少字符。超过后会截断,避免长聊天记录压垮主模型上下文。" ,
"slider" : {
"min" : 800 ,
"max" : 20000 ,
"step" : 200
} ,
"default" : 5000 ,
"condition" : {
"enable_forward_message_adaptation" : true
}
} ,
"forward_message_parse_nested" : {
"description" : "展开嵌套合并消息" ,
"type" : "bool" ,
"hint" : "合并消息中再次包含合并消息时,尝试继续展开。默认开启,但最多只做浅层展开。" ,
"default" : true ,
"condition" : {
"enable_forward_message_adaptation" : true
}
} ,
"forward_message_image_vision" : {
"description" : "合并消息图片交给视觉模型" ,
"type" : "bool" ,
"hint" : "合并消息里出现图片时,按出现顺序交给视觉模型生成简短说明,再作为消息集上下文交给 Bot。合并转发触发频率通常较低,默认开启以避免漏读关键图片。" ,
"default" : true ,
"condition" : {
"enable_forward_message_adaptation" : true
}
} ,
"forward_message_image_limit" : {
"description" : "合并消息视觉图片上限" ,
"type" : "int" ,
"hint" : "单次合并消息最多转述多少张图片,超过上限的图片仍会保留 [图片] 占位。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 4 ,
"condition" : {
"forward_message_image_vision" : true
}
} ,
"forward_message_image_vision_timeout_seconds" : {
"description" : "合并消息图片视觉等待秒数" ,
"type" : "float" ,
"hint" : "合并消息里图片识别最多等待多久。超时后会先按文字记录回复,并保留图片占位,避免视觉模型过慢拖住整轮对话。设为 0 表示不限制等待。" ,
"slider" : {
"min" : 0 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 6 ,
"condition" : {
"forward_message_image_vision" : true
}
}
}
} ,
"group_scene_config" : {
"description" : "群聊场景" ,
"type" : "object" ,
"hint" : "维护近期群聊场景、现实承诺保护和上下文边界。" ,
"items" : {
"enable_group_scene_awareness" : {
"description" : "启用群聊场景感知" ,
"type" : "bool" ,
"hint" : "借鉴上下文场景感知增强的做法,推断当前消息是在对 Bot、某个群友还是整个群说话,并以结构化 scene 注入。可减少 Bot 误以为别人都在问自己。" ,
"default" : true ,
"condition" : {
"enable_group_context_injection" : true
}
} ,
"group_scene_recent_limit" : {
"description" : "场景感知最近消息数" ,
"type" : "int" ,
"hint" : "scene 中 recent_flow 最多包含多少条最近群聊消息。越大越清楚,但会增加上下文长度。" ,
"slider" : {
"min" : 2 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 5 ,
"condition" : {
"enable_group_scene_awareness" : true
}
} ,
"enable_group_reality_promise_guard" : {
"description" : "阻止群聊现实承诺" ,
"type" : "bool" ,
"hint" : "仅影响群聊。开启后,Bot 不会在群聊里承诺自己能拉人、修网、操作设备、开房间或处理现实事务;只能说明做不到实际操作、给提醒或建议。私聊扮演不受此开关限制。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
}
}
} ,
"group_wakeup_config" : {
"description" : "群聊唤醒增强" ,
"type" : "object" ,
"hint" : "控制群聊唤醒词、兴趣匹配、冷群开口和疲劳衰减。" ,
"items" : {
"enable_group_wakeup_enhancement" : {
"description" : "启用群聊唤醒强化" ,
"type" : "bool" ,
"hint" : "让 Bot 除了被 @ 外,也能通过强唤醒词、弱相关唤醒词和兴趣关键词进入群聊回复链。命中后会注入“这不是直接私聊提问,而是在群里被提到/碰到兴趣话题”的场景提示。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_wakeup_direct_words" : {
"description" : "强唤醒词" ,
"type" : "list" ,
"hint" : "群聊消息中出现任一词就直接唤醒 Bot。适合填写 Bot 名字、昵称、固定称呼。Bot 名字会自动加入,即使这里留空也可生效。" ,
"default" : [ ] ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_owner_direct_words" : {
"description" : "主要用户专属强唤醒词" ,
"type" : "list" ,
"hint" : "群聊中只有主要用户发送的消息命中这些词时才直接唤醒 Bot;次要用户和普通群友说出相同词不会触发。主要用户按 target_user_ids、身份别名以及私聊页手动设置的关系角色识别。适合放主要用户对 Bot 的私有称呼或约定词,一行一个。" ,
"default" : [ ] ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_context_words" : {
"description" : "弱相关唤醒词" ,
"type" : "list" ,
"hint" : "与 Bot 身份、称呼或设定弱相关的关键词。命中后不会直接回复,而是先结合群聊上下文、关系网和句式判断是否适合自然接话。适合填写“机器人”“bot”、外号、作品名、设定称呼或常被拿来指代 Bot 的梗;不适合填写“你怎么看”“问问你”这类泛请求句。" ,
"default" : [
"机器人" ,
"bot"
] ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_interest_keywords" : {
"description" : "手动兴趣关键词" ,
"type" : "list" ,
"hint" : "补充 Bot 感兴趣的话题。命中后按概率唤醒,不会每次抢话。插件也会从人格兴趣、技能、群话题和黑话里自动抽取一批兴趣词。" ,
"default" : [ ] ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_interest_probability" : {
"description" : "兴趣唤醒概率" ,
"type" : "int" ,
"hint" : "群聊出现兴趣关键词时进入回复链的基础概率,按百分比填写。群聊很热闹或正在别人对话中时会自动降低。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 18 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"enable_group_wakeup_question" : {
"description" : "启用解惑唤醒" ,
"type" : "bool" ,
"hint" : "群里有人抛出开放疑问、求助或“有没有人懂”这类问题时,按求助强度评分决定是否进入回复链。受冷却、高强度收口和唤醒疲劳影响。" ,
"default" : true ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_question_threshold" : {
"description" : "解惑强度阈值" ,
"type" : "int" ,
"hint" : "群聊开放疑问或求助会先计算 0-100 的强度分,达到该阈值才进入回复链。分数会参考求助词、报错/排障信号、群气氛、休息状态和唤醒疲劳。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 65 ,
"condition" : {
"enable_group_wakeup_question" : true
}
} ,
"enable_group_wakeup_cold_group" : {
"description" : "启用冷群唤醒" ,
"type" : "bool" ,
"hint" : "群聊安静一段时间后有人重新开口时,按开场、问候或求助强度决定是否进入回复链。默认关闭,避免冷群时突然冒泡打扰。" ,
"default" : false ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_cold_group_threshold" : {
"description" : "冷群强度阈值" ,
"type" : "int" ,
"hint" : "冷群重新开口会先计算 0-100 的强度分,达到该阈值才进入回复链。分数会参考问候、开场、求助信号、休息状态和能量状态。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 65 ,
"condition" : {
"enable_group_wakeup_cold_group" : true
}
} ,
"group_wakeup_cold_group_idle_minutes" : {
"description" : "冷群判定分钟" ,
"type" : "int" ,
"hint" : "距离上一条群消息超过这么久,才认为当前消息处于冷群重新开口场景。" ,
"slider" : {
"min" : 3 ,
"max" : 720 ,
"step" : 1
} ,
"default" : 25 ,
"condition" : {
"enable_group_wakeup_cold_group" : true
}
} ,
"group_wakeup_cooldown_seconds" : {
"description" : "唤醒冷却秒数" ,
"type" : "int" ,
"hint" : "判断唤醒和兴趣唤醒的冷却时间,防止群聊连续关键词导致频繁响应。强唤醒词不受该冷却限制。" ,
"slider" : {
"min" : 0 ,
"max" : 3600 ,
"step" : 10
} ,
"default" : 90 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_generated_keyword_limit" : {
"description" : "自动兴趣词上限" ,
"type" : "int" ,
"hint" : "最多从人格兴趣、技能、群聊话题和群黑话中抽取多少个兴趣关键词参与判断。" ,
"slider" : {
"min" : 4 ,
"max" : 80 ,
"step" : 2
} ,
"default" : 24 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_topic_interest_max_boost" : {
"description" : "话题兴趣权重上限" ,
"type" : "int" ,
"hint" : "兴趣词出现在当前句、近几句或活跃话题线中时,最多额外提高多少百分比的兴趣唤醒概率。设为 0 表示只按基础概率判断。" ,
"slider" : {
"min" : 0 ,
"max" : 150 ,
"step" : 5
} ,
"default" : 45 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_debounce_pending_penalty" : {
"description" : "收口等待兴趣降权" ,
"type" : "int" ,
"hint" : "同一群友正在补话等待时,兴趣唤醒概率降低多少百分比,避免 Bot 等用户补充时又因兴趣词额外抢话。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 65 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_fatigue_limit" : {
"description" : "唤醒疲劳阈值" ,
"type" : "int" ,
"hint" : "群聊短时间多次唤醒会累计疲劳。达到阈值后,判断唤醒和兴趣唤醒会更保守,回复也更省力;强唤醒词仍可叫到 Bot。" ,
"slider" : {
"min" : 1 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 5 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_fatigue_decay_minutes" : {
"description" : "唤醒疲劳恢复分钟" ,
"type" : "int" ,
"hint" : "每经过这么多分钟,唤醒疲劳大约自然下降 1 点。数值越大,Bot 越容易保留“刚才一直被叫”的感觉。" ,
"slider" : {
"min" : 5 ,
"max" : 720 ,
"step" : 5
} ,
"default" : 90 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_log_limit" : {
"description" : "唤醒记录上限" ,
"type" : "int" ,
"hint" : "每个群保留多少条唤醒命中、冷却拦截或兴趣未触发记录,用于拓展页观察和调试。" ,
"slider" : {
"min" : 10 ,
"max" : 300 ,
"step" : 10
} ,
"default" : 80 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_wakeup_short_text_wait_seconds" : {
"description" : "短唤醒补话等待秒数" ,
"type" : "float" ,
"hint" : "群聊里已经判定在叫 Bot、但内容只有 1-2 个字且不像完整短互动时,复用消息收口缓冲等待同一群友补充。用于避免“瓦”这类碎片先触发回复,后续真正内容才发出来。设为 0 可关闭。" ,
"slider" : {
"min" : 0 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 15 ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
}
}
} ,
"group_high_intensity_config" : {
"description" : "群聊高强度模式" ,
"type" : "object" ,
"hint" : "控制高频互动窗口下的合并、冷却和最大处理范围。" ,
"items" : {
"enable_group_high_intensity_mode" : {
"description" : "群聊高强度收口模式" ,
"type" : "bool" ,
"hint" : "短时间连续被 @、引用或增强唤醒后,自动进入收口降载:暂停弱相关/兴趣唤醒和后台群聊刷新,把同一群里连续叫 Bot 的消息合并成一轮处理,减少 LLM 过载。" ,
"default" : true ,
"condition" : {
"enable_group_wakeup_enhancement" : true
}
} ,
"group_high_intensity_wakeup_window_seconds" : {
"description" : "高强度统计窗口秒数" ,
"type" : "int" ,
"hint" : "在多少秒内统计连续唤醒次数。窗口内唤醒达到阈值后进入高强度收口模式。" ,
"slider" : {
"min" : 15 ,
"max" : 600 ,
"step" : 5
} ,
"default" : 60 ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
} ,
"group_high_intensity_wakeup_threshold" : {
"description" : "高强度唤醒阈值" ,
"type" : "int" ,
"hint" : "统计窗口内被明确叫到多少次后进入高强度收口。默认 3 次,适合一分钟内连续 @ 或引用 Bot 的场景。" ,
"slider" : {
"min" : 2 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 3 ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
} ,
"group_high_intensity_cooldown_seconds" : {
"description" : "高强度收口持续秒数" ,
"type" : "int" ,
"hint" : "进入收口降载后维持多久。持续期间弱相关和兴趣唤醒会更保守,明确 @ 或引用会合并处理。" ,
"slider" : {
"min" : 30 ,
"max" : 1800 ,
"step" : 10
} ,
"default" : 150 ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
} ,
"group_high_intensity_merge_seconds" : {
"description" : "高强度合并等待秒数" ,
"type" : "int" ,
"hint" : "高强度收口期间的固定合并窗口。第一条明确叫到 Bot 的消息最多等待这么久,并按合并范围配置把后续叫 Bot 的消息并入同一轮,减少多次 LLM 调用。" ,
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
} ,
"group_high_intensity_max_merge_messages" : {
"description" : "高强度最大合并消息数" ,
"type" : "int" ,
"hint" : "高强度收口期间同一轮最多合并多少条叫 Bot 的消息。达到上限会立刻结束等待进入回复链;0 表示不限制。" ,
"slider" : {
"min" : 0 ,
"max" : 50 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
} ,
"group_high_intensity_merge_scope" : {
"description" : "高强度合并范围" ,
"type" : "string" ,
"hint" : "高强度期间如何合并连续叫 Bot 的消息。group 表示全群连续叫 Bot 合并为一轮;same_user 表示只合并同一发送者的补话。" ,
"options" : [
"group" ,
"same_user"
] ,
"labels" : [
"全群连续叫 Bot 合并" ,
"只合并同一发送者补话"
] ,
"default" : "group" ,
"condition" : {
"enable_group_high_intensity_mode" : true
}
}
}
} ,
"group_slang_topic_config" : {
"description" : "群黑话与话题线" ,
"type" : "object" ,
"hint" : "学习群内黑话、话题线程、片段记忆和联网参考。" ,
"items" : {
"enable_group_slang_learning" : {
"description" : "启用群内黑话/梗学习" ,
"type" : "bool" ,
"hint" : "从目标群消息中提取高频词、短梗和群内口头表达,作为群聊回复背景。语义解释阶段会过滤低置信度和“语境不明”项。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_member_profiles" : {
"description" : "启用群内成员观察" ,
"type" : "bool" ,
"hint" : "只记录成员在当前群里的近期发言、短句、活跃度和改名痕迹;稳定身份、关系备注和重要记忆交给群聊关系网。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_topic_threads" : {
"description" : "启用群聊话题线程" ,
"type" : "bool" ,
"hint" : "跟踪群里当前正在聊的几条话题线,记录参与人数、消息数和 Bot 是否已经接过。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_episode_memory" : {
"description" : "启用群聊片段记忆" ,
"type" : "bool" ,
"hint" : "定期把群聊最近一段总结成群聊片段记忆,包括主要话题、新梗、活跃群友和短期不要重复的话题。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_slang_meanings" : {
"description" : "启用群内黑话语义解释" ,
"type" : "bool" ,
"hint" : "低频调用 LLM,根据群聊样例为常见词/梗补充含义、用法、类型和置信度。证据不足的词会被省略,不再保存“语境不明”。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_slang_web_search" : {
"description" : "黑话释义联网参考" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,黑话释义整理会低频调用 AstrBot 全局网页搜索,为已有黑话候选收集外部解释摘要,并让模型判断外部解释与本群聊天样例是否匹配。搜索结果只作为证据,不会直接覆盖群内用法。" ,
"default" : false ,
"condition" : {
"enable_group_slang_meanings" : true
}
} ,
"group_slang_web_search_terms" : {
"description" : "黑话联网候选扫描数" ,
"type" : "int" ,
"hint" : "每次黑话释义整理最多从多少个候选词里挑选待查词;实际每轮只联网搜索 1 个词,并缓存结果/失败冷却,避免短时间连发搜索。" ,
"default" : 4 ,
"min" : 1 ,
"max" : 12 ,
"condition" : {
"enable_group_slang_web_search" : true
}
} ,
"group_slang_web_search_results" : {
"description" : "每词搜索摘要条数" ,
"type" : "int" ,
"hint" : "每个黑话候选最多保留多少条网页搜索摘要给释义模型参考。" ,
"default" : 2 ,
"min" : 1 ,
"max" : 5 ,
"condition" : {
"enable_group_slang_web_search" : true
}
}
}
} ,
"group_relationship_config" : {
"description" : "群关系网" ,
"type" : "object" ,
"hint" : "维护群友关系节点、隐私保护、自登记和世界书成员识别。" ,
"items" : {
"enable_group_relationship_graph" : {
"description" : "启用群友互动图" ,
"type" : "bool" ,
"hint" : "记录群友之间近期谁常互相接话、玩梗或争论;它只表示群内互动节奏,不保存稳定身份资料。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_privacy_guard" : {
"description" : "启用群聊隐私防串味边界" ,
"type" : "bool" ,
"hint" : "群聊回复上下文中强制提醒模型不要泄露私聊记忆、用户画像、内部观察和群友关系判断。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_worldbook_member_recognition" : {
"description" : "启用群聊关系网" ,
"type" : "bool" ,
"hint" : "读取稳定关系节点、群资料、别名和重要记忆。成员身份以 QQ 号为唯一锚点;群名片、昵称和近期发言习惯只作辅助线索。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"worldbook_auto_import" : {
"description" : "启动时自动刷新关系网" ,
"type" : "bool" ,
"hint" : "开启后插件启动时会读取关系网配置并同步到本插件数据存储。结果可在拓展页“关系网”页查看和刷新。" ,
"default" : true ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"worldbook_member_match_aliases" : {
"description" : "允许称呼辅助匹配" ,
"type" : "bool" ,
"hint" : "开启后,除 QQ 精确匹配外,还会在当前消息明确提到某个唯一别名或群名片时注入对应节点。它不会用来确认当前发言者身份,短词、歧义别名和不确定身份会跳过。" ,
"default" : true ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"worldbook_self_registration" : {
"description" : "允许群聊自登记节点" ,
"type" : "bool" ,
"hint" : "开启后,未登记成员在群里明确叫到 Bot 并说“我是XX/你可以叫我XX”时,会自动建立关系节点并生成简短资料正文。" ,
"default" : true ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"worldbook_self_registration_block_words" : {
"description" : "自登记拒绝词" ,
"type" : "string" ,
"hint" : "填写不允许进入关系网自登记的称呼/关键词。命中自报名字、别名或原始自登记文本时,会和内置不合规/冒领规则一样直接拒绝。多个词用换行、英文逗号或中文逗号分隔。" ,
"default" : "" ,
"condition" : {
"enable_worldbook_member_recognition" : true ,
"worldbook_self_registration" : true
}
} ,
"worldbook_self_registration_block_reply" : {
"description" : "自登记拒绝回复" ,
"type" : "string" ,
"hint" : "自登记命中拒绝词、称呼不合规或疑似冒领/冲突时,Bot 返回给用户的统一拒绝文案。留空时使用默认回复“这个称呼我不记。”" ,
"default" : "这个称呼我不记。" ,
"condition" : {
"enable_worldbook_member_recognition" : true ,
"worldbook_self_registration" : true
}
} ,
"worldbook_auto_pending_observations" : {
"description" : "低频生成待确认观察" ,
"type" : "bool" ,
"hint" : "开启后,Bot 会从群聊互动中低频提取轻量印象,只放入关系节点的待确认区;用户确认前不会写入重要记忆,也不会作为固定资料注入。" ,
"default" : true ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"worldbook_member_inject_limit" : {
"description" : "关系节点单次注入上限" ,
"type" : "int" ,
"hint" : "一次群聊回复最多注入多少个匹配到的关系节点。过高会增加上下文长度和误触风险。" ,
"slider" : {
"min" : 1 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 6 ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"worldbook_config_paths" : {
"description" : "关系网配置文件路径" ,
"type" : "string" ,
"hint" : "留空会自动查找常见关系网配置。也可填写一个或多个 JSON 配置路径,多个路径用换行或英文逗号分隔。" ,
"default" : "" ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
}
}
} ,
"relay_bridge_config" : {
"description" : "跨群转述与桥接" ,
"type" : "object" ,
"hint" : "控制跨群/私聊转述、@ 群友、跨用户记忆桥和敏感确认。" ,
"items" : {
"enable_atrelay_tools" : {
"description" : "启用跨群转述与 @ 群友工具" ,
"type" : "bool" ,
"hint" : "整合艾特群友插件能力。模型可调用工具向群聊/私聊发送消息、查询群号和群成员;@ 对象会优先按关系网 QQ 身份解析。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_cross_user_memory_bridge" : {
"description" : "启用跨用户记忆互通" ,
"type" : "bool" ,
"hint" : "开启后,主要用户可在私聊中询问 Bot 与某个私聊对象或群聊的近期互动。该功能只读摘要,不会发送消息,默认仅主要用户可用。" ,
"default" : false ,
"condition" : {
"enable_worldbook_member_recognition" : true
}
} ,
"cross_user_memory_owner_only" : {
"description" : "仅主要用户可查询跨用户互动" ,
"type" : "bool" ,
"hint" : "开启后,target_user_ids 中配置的用户以及私聊页中关系角色设为主要用户的用户能查询 Bot 与其他用户/群聊的互动;关闭后,AstrBot 全局管理员 admins_id 也可在私聊中查询。手动启用对象和身份别名不会获得该权限。" ,
"default" : true ,
"condition" : {
"enable_cross_user_memory_bridge" : true
}
} ,
"atrelay_require_worldbook_first" : {
"description" : "优先使用关系网解析 @ 对象" ,
"type" : "bool" ,
"hint" : "开启后,按名称 @ 群友时先查关系网;关系网没有唯一命中时不会随便用群昵称猜人。关闭后会继续模糊匹配群成员列表。" ,
"default" : true ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"atrelay_member_cache_minutes" : {
"description" : "群成员列表缓存分钟" ,
"type" : "int" ,
"hint" : "查询群成员列表后缓存多久。缓存会用于群友查询和 @ 对象解析,同时把已登记成员的群名片写入关系网 observed_names。" ,
"slider" : {
"min" : 1 ,
"max" : 1440 ,
"step" : 5
} ,
"default" : 60 ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"atrelay_sensitive_confirm" : {
"description" : "敏感转述发送前确认" ,
"type" : "bool" ,
"hint" : "开启后,私密、强情绪、告白、金钱、健康等内容不会被直接跨会话发送;Bot 会先询问原样带过去还是委婉转述。" ,
"default" : true ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"enable_atrelay_llm_rewrite" : {
"description" : "使用模型转述正文" ,
"type" : "bool" ,
"hint" : "开启后,普通转述会先让模型把用户原句改成 Bot 自然会说的话,再发送给目标;关闭后直接发送解析出的正文,延迟更低。用户明确要求原话时始终不改写。" ,
"default" : true ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"atrelay_default_relay_style" : {
"description" : "默认转述方式" ,
"type" : "string" ,
"hint" : "persona: 按 Bot 人格和关系自然改写;soft: 更委婉;original: 尽量按原话。用户明确要求原话时会覆盖该设置。" ,
"options" : [
"persona" ,
"soft" ,
"original"
] ,
"labels" : [
"人格转译" ,
"委婉转述" ,
"原话模式"
] ,
"default" : "persona" ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"atrelay_multi_target_limit" : {
"description" : "多目标转述单次上限" ,
"type" : "int" ,
"hint" : "一次多目标转述最多发送到多少个 QQ 或群。用于避免模型循环调用导致刷屏。" ,
"slider" : {
"min" : 1 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 5 ,
"condition" : {
"enable_atrelay_tools" : true
}
} ,
"max_group_recent_messages" : {
"description" : "群聊最近消息保留数" ,
"type" : "int" ,
"hint" : "用于群气氛判断和群聊回复上下文。" ,
"slider" : {
"min" : 20 ,
"max" : 300 ,
"step" : 10
} ,
"default" : 80 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"max_group_slang_terms" : {
"description" : "群内常见词保留数" ,
"type" : "int" ,
"hint" : "用于黑话/梗学习展示和群聊上下文注入。" ,
"slider" : {
"min" : 8 ,
"max" : 160 ,
"step" : 8
} ,
"default" : 40 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"max_group_topic_threads" : {
"description" : "最多保留群聊话题线程数" ,
"type" : "int" ,
"hint" : "保留最近多少条群聊话题线。" ,
"slider" : {
"min" : 3 ,
"max" : 40 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_episode_refresh_minutes" : {
"description" : "群聊片段整理间隔(分钟)" ,
"type" : "int" ,
"hint" : "同一群两次群聊片段总结的最小间隔。" ,
"slider" : {
"min" : 30 ,
"max" : 1440 ,
"step" : 30
} ,
"default" : 180 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_slang_summary_minutes" : {
"description" : "群内黑话语义整理间隔(分钟)" ,
"type" : "int" ,
"hint" : "同一群两次黑话语义整理的最小间隔。" ,
"slider" : {
"min" : 60 ,
"max" : 2880 ,
"step" : 60
} ,
"default" : 360 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"max_group_episodes" : {
"description" : "最多保留群聊片段数量" ,
"type" : "int" ,
"hint" : "保留最近多少段群聊片段记忆。" ,
"slider" : {
"min" : 3 ,
"max" : 40 ,
"step" : 1
} ,
"default" : 10 ,
"condition" : {
"enable_group_companion" : true
}
} ,
"max_group_relationship_edges" : {
"description" : "最多保留群友互动边" ,
"type" : "int" ,
"hint" : "保留多少组群友之间的近期互动统计。" ,
"slider" : {
"min" : 10 ,
"max" : 300 ,
"step" : 10
} ,
"default" : 80 ,
"condition" : {
"enable_group_companion" : true
}
}
}
} ,
"group_interject_config" : {
"description" : "群聊主动插话" ,
"type" : "object" ,
"hint" : "控制群聊插话、复读跟随、打断概率和每日上限。" ,
"items" : {
"enable_group_interjection" : {
"description" : "允许群聊主动插话" ,
"type" : "bool" ,
"hint" : "当前版本默认关闭。后续可用于让 Bot 在极少数合适场景主动接一句,但为避免抢话建议先关闭。" ,
"default" : false ,
"condition" : {
"enable_group_companion" : true
}
} ,
"enable_group_repeat_follow" : {
"description" : "允许群聊复读跟读" ,
"type" : "bool" ,
"hint" : "当群里同一句话连续复读达到阈值时,Bot 可低概率跟读一次或打断一次;同一轮复读最多处理一次。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
} ,
"group_repeat_count_distinct_users_only" : {
"description" : "复读只计不同用户" ,
"type" : "bool" ,
"hint" : "开启后,同一句话必须达到“复读触发阈值”个不同群友说出才会触发复读跟读/打断;同一个人连续刷屏不会累计触发,也不会推高复读概率。" ,
"default" : false ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_trigger_threshold" : {
"description" : "复读触发阈值" ,
"type" : "int" ,
"hint" : "同一句话连续出现达到多少次后,才开始按概率跟读或打断。必须大于 2,默认 4;开启“复读只计不同用户”后,这里表示不同参与者数量。" ,
"slider" : {
"min" : 3 ,
"max" : 20 ,
"step" : 1
} ,
"default" : 4 ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_follow_probability" : {
"description" : "复读跟读初始概率(%) " ,
"type" : "int" ,
"hint" : "同一句话达到复读触发阈值时的初始跟读概率。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 18 ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_interrupt_probability" : {
"description" : "复读打断初始概率(%) " ,
"type" : "int" ,
"hint" : "同一句话达到复读触发阈值时的初始打断概率。打断默认发送“禁止复读”。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 10 ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_interrupt_probability_step" : {
"description" : "复读概率共同递增(%) " ,
"type" : "int" ,
"hint" : "每次继续复读但 Bot 没跟读/打断时,下一次跟读概率和打断概率都会增加多少。" ,
"slider" : {
"min" : 0 ,
"max" : 50 ,
"step" : 1
} ,
"default" : 12 ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_interrupt_text" : {
"description" : "复读打断文本" ,
"type" : "string" ,
"hint" : "打断复读时发送的文字。留空会回退为“禁止复读”。" ,
"default" : "禁止复读" ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_repeat_interrupt_image_path" : {
"description" : "复读打断表情包路径" ,
"type" : "string" ,
"hint" : "填写本地图片路径后,打断复读时优先发送这张表情包;路径不可用时回退到打断文本。" ,
"default" : "" ,
"condition" : {
"enable_group_repeat_follow" : true
}
} ,
"group_interject_min_interval_minutes" : {
"description" : "群聊主动插话最小间隔(分钟)" ,
"type" : "int" ,
"hint" : "仅在允许群聊主动插话时生效。" ,
"slider" : {
"min" : 10 ,
"max" : 1440 ,
"step" : 10
} ,
"default" : 180 ,
"condition" : {
"enable_group_interjection" : true
}
} ,
"group_interject_max_daily" : {
"description" : "每群每日最多主动插话次数" ,
"type" : "int" ,
"hint" : "仅在允许群聊主动插话时生效。设为 0 可彻底禁止主动插话。" ,
"slider" : {
"min" : 0 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 2 ,
"condition" : {
"enable_group_interjection" : true
}
} ,
"enable_group_interjection_feedback" : {
"description" : "启用群聊插话反馈学习" ,
"type" : "bool" ,
"hint" : "记录 Bot 插话后是否有人接、是否出现正向/负向反馈,用于后续调试和收敛。" ,
"default" : true ,
"condition" : {
"enable_group_companion" : true
}
}
}
} ,
"life_schedule_config" : {
"description" : "生活日程" ,
"type" : "object" ,
"hint" : "控制每日生活日程生成、人格/世界观参考和日程注入。" ,
"items" : {
"enable_daily_plan" : {
"description" : "启用每日拟人化日程" ,
"type" : "bool" ,
"hint" : "开启后每天到指定时间会调用模型生成 Bot 当天要做的事情。" ,
"default" : true
} ,
"daily_plan_time" : {
"description" : "每日生成日程时间" ,
"type" : "string" ,
"hint" : "格式: HH:MM,例如 07:30。每天超过该时间且存在已开启用户时生成一次。" ,
"default" : "07:30" ,
"condition" : {
"enable_daily_plan" : true
}
} ,
"daily_plan_item_count" : {
"description" : "每日日程条目数" ,
"type" : "int" ,
"hint" : "控制每日粗日程尽量生成多少个时间点。节点会覆盖从起床到入睡前,并为傍晚和夜间保留容量;条目更多会更细碎、更像一整天的生活。" ,
"slider" : {
"min" : 5 ,
"max" : 24 ,
"step" : 1
} ,
"default" : 10 ,
"condition" : {
"enable_daily_plan" : true
}
} ,
"schedule_persona_prompt" : {
"description" : "日程专用角色设定" ,
"type" : "string" ,
"hint" : "只给“每日日程/细节强化/日记脚本”使用,不直接覆盖 AstrBot 聊天人格。适合写身份、年龄、学校/职业、作息、住处、和用户的现实关系。留空时回退参考 AstrBot 默认人格。" ,
"default" : ""
} ,
"schedule_worldview_prompt" : {
"description" : "日程专用世界观/生活背景" ,
"type" : "string" ,
"hint" : "只给“每日日程/细节强化/日记脚本”使用。适合写所在世界、日常规则、学校/城市环境、超能力是否公开、谁和谁一起生活等生活背景。" ,
"default" : ""
} ,
"roleplay_user_profile_prompt" : {
"description" : "角色设定:用户与关系补充" ,
"type" : "string" ,
"hint" : "用于描述角色如何称呼用户、用户身份、彼此关系和相处方式。不会作为图片自我识别的角色外观线索。" ,
"default" : ""
} ,
"roleplay_knowledge_source_ids" : {
"description" : "角色设定: AstrBot 知识库选择" ,
"type" : "list" ,
"hint" : "由拓展页“角色设定”直接选择可用 AstrBot 知识库/文档。用于增强日程模拟与世界观适配,不需要手动填写。" ,
"default" : [ ] ,
"invisible" : true
} ,
"include_schedule_in_messages" : {
"description" : "允许主动消息偶尔带上当前日程背景" ,
"type" : "bool" ,
"hint" : "开启后主动私聊有小概率自然提到 Bot 这会儿正在做什么。日程只作为背景,不会每次强调。" ,
"default" : true
} ,
"daily_plan_prompt" : {
"description" : "自定义每日日程提示词" ,
"type" : "text" ,
"hint" : "留空使用默认提示词。可用变量:{now} {bot_name} {astrbot_persona} {schedule_persona} {can_do} {humanized_state} {schedule_adjustments} {skill_growth_context} {recent_plan_history} {calendar_context} {recent_diaries} {yesterday_conversation} {important_dates} {weather_info} {daily_plan_item_count}。要求模型输出 JSON,包含 schedule 数组。不要在这里另写新人格。" ,
"default" : "" ,
"condition" : {
"enable_daily_plan" : true
}
}
}
} ,
"schedule_detail_config" : {
"description" : "日程细化与日记" ,
"type" : "object" ,
"hint" : "控制当前时间段细化、每日 Bot 日记和重要日期前瞻。" ,
"items" : {
"enable_detail_enhancement" : {
"description" : "启用日程细节强化模式" ,
"type" : "bool" ,
"hint" : "开启后,早上生成粗日程;临近每个日程段时再调用细节强化模型,推演该段时间里可能发生的小事件、主动消息意愿和主动行为。" ,
"default" : false
} ,
"detail_enhancement_lead_minutes" : {
"description" : "提前强化日程段(分钟)" ,
"type" : "int" ,
"hint" : "建议设为 3,则 08:30 的日程段会在约 08:27 后开始尝试细节强化,更贴近当前区间。" ,
"slider" : {
"min" : 0 ,
"max" : 180 ,
"step" : 1
} ,
"default" : 3 ,
"condition" : {
"enable_detail_enhancement" : true
}
} ,
"enable_daily_diary" : {
"description" : "启用每日 Bot 日记" ,
"type" : "bool" ,
"hint" : "每天生成一条 Bot 自己的短日记,作为次日状态转移和主动分享素材。" ,
"default" : true
} ,
"daily_diary_time" : {
"description" : "每日写日记时间" ,
"type" : "string" ,
"hint" : "格式: HH:MM,例如 23:10。超过该时间后每天生成一次。" ,
"default" : "23:10" ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"daily_diary_form" : {
"description" : "日记写作形式" ,
"type" : "string" ,
"hint" : "自动模式会按日期和当天可用经历稳定选择一种形式,不会每次重载都变化。也可固定为场景短记、碎片手记、心绪自述或观察记录。" ,
2026-07-26 01:32:07 +08:00
"options" : [
"auto" ,
"scene" ,
"fragments" ,
"inner_voice" ,
"observation"
] ,
2026-07-24 00:25:43 +08:00
"default" : "auto" ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"daily_diary_length" : {
"description" : "日记篇幅" ,
"type" : "string" ,
"hint" : "材料不足时允许比目标更短,避免为了凑字数虚构生活细节。" ,
2026-07-26 01:32:07 +08:00
"options" : [
"short" ,
"standard" ,
"long"
] ,
2026-07-24 00:25:43 +08:00
"default" : "standard" ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"daily_diary_creativity" : {
"description" : "日记写实程度" ,
"type" : "string" ,
"hint" : "严格写实只采用已确认经历;自然平衡允许轻微感官表达;个性表达可增强节奏和内心色彩,但都不会虚构事件。" ,
2026-07-26 01:32:07 +08:00
"options" : [
"strict" ,
"balanced" ,
"expressive"
] ,
2026-07-24 00:25:43 +08:00
"default" : "balanced" ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"daily_diary_custom_direction" : {
"description" : "日记创作方向" ,
"type" : "text" ,
"hint" : "可指定更关注哪些真实内容或采用怎样的创作气质。这里不能突破事实边界;留空由人格和当天经历决定。" ,
"default" : "" ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"daily_diary_generate_share_seed" : {
"description" : "从日记提取自然分享素材" ,
"type" : "bool" ,
"hint" : "只从正文已经出现的细节提取,不会让日记直接安排当晚主动消息。关闭后日记仅用于连续性和梦境素材。" ,
"default" : true ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"max_diary_entries" : {
"description" : "保留 Bot 日记数量" ,
"type" : "int" ,
"hint" : "用于状态延续和主动分享素材。" ,
"slider" : {
"min" : 1 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 14 ,
"condition" : {
"enable_daily_diary" : true
}
} ,
"important_date_lookahead_days" : {
"description" : "重要日期默认提前提醒天数" ,
"type" : "int" ,
"hint" : "新增重要日期条目时默认使用的提前关注范围。临近或当天的重要日期会注入 LLM,并可能触发主动分享。" ,
"slider" : {
"min" : 0 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 7
}
}
} ,
"humanized_state_config" : {
"description" : "拟人状态与休息" ,
"type" : "object" ,
"hint" : "控制生活状态、被动状态注入和休息回复闸门。" ,
"items" : {
"enable_humanized_states" : {
"description" : "启用拟人化身体/梦境状态" ,
"type" : "bool" ,
"hint" : "生成精力、睡眠、梦境、健康、饥饿、生理期模拟等身体余波,并影响日程、主动消息和被动回复的语气节奏。" ,
"default" : true
} ,
"enable_health_state" : {
"description" : "启用健康/不适状态" ,
"type" : "bool" ,
"hint" : "开启后,健康/不适状态视为可用,当前扮演状态可能出现生病、头疼、身体不舒服或恢复尾声等健康余波;关闭后自动生成和手动增添都会跳过这类状态。" ,
"default" : true ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"enable_hunger_state" : {
"description" : "启用饥饿/胃口状态" ,
"type" : "bool" ,
"hint" : "开启后,饥饿/胃口状态视为可用,当前扮演状态可能出现饿、胃口不好、想吃东西或想吃甜的等余波;关闭后不会生成吃什么类身体小需求,手动增添也会拦截饥饿状态。" ,
"default" : true ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"inject_passive_states" : {
"description" : "被动回复前注入拟人状态" ,
"type" : "bool" ,
"hint" : "开启后,普通 LLM 回复前会带上少量身体/情绪余波,只影响语气、长短和节奏,不要求模型逐项汇报状态。" ,
"default" : true ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"enable_passive_state_delta_injection" : {
"description" : "被动状态增量注入" ,
"type" : "bool" ,
"hint" : "开启后,同一会话只在状态首次出现、明显变化或用户主动询问近况时注入短状态摘要;状态未变时不重复塞完整日程和生活背景,可显著提高主模型缓存命中率。关闭后恢复每轮完整状态注入。" ,
"default" : true ,
"condition" : {
"inject_passive_states" : true
}
} ,
"passive_injection_position" : {
"description" : "动态提示词注入位置" ,
"type" : "string" ,
"hint" : "控制被动状态、请求级环境感知、TTS 本轮频控、转发/引用上下文等动态片段注入到哪里。当前请求末尾会进入统一动态块,并按稳定顺序排列,更利于服务端缓存;系统提示词约束更强但更容易降低缓存命中;自动当前等同当前请求末尾。若同时启用长期记忆/记忆召回,推荐使用当前请求末尾,让召回内容与动态状态在尾部自然结合。" ,
"options" : [
"prompt" ,
"system_prompt" ,
"auto"
] ,
"labels" : [
"当前请求末尾" ,
"系统提示词" ,
"自动(缓存优先)"
] ,
"default" : "prompt" ,
"condition" : {
"inject_passive_states" : true
}
} ,
"enable_cycle_state" : {
"description" : "启用生理期模拟" ,
"type" : "bool" ,
"hint" : "开启后,拟人身体状态可以加入周期相关余波。默认使用原有三阶段;可选开启六阶段策略。它只影响 Bot 的语气、精力和节奏,不是医学记录、健康判断或用户事实。" ,
"default" : true ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"enable_advanced_cycle_strategy" : {
"description" : "启用六阶段周期策略" ,
"type" : "bool" ,
"hint" : "把原有三阶段扩展为月经期、卵泡期早、排卵前期、排卵期、黄体期早和 PMS 期,并按顺序自然推进。默认关闭,避免改变现有行为。" ,
"default" : false ,
"condition" : {
"enable_cycle_state" : true
}
} ,
"advanced_cycle_link_intensity" : {
"description" : "精力变化跟随拟人状态强度" ,
"type" : "bool" ,
"hint" : "开启后,各阶段精力变化按拟人状态强度线性计算: 50 使用阶段基准值,100 为两倍,0 为零。关闭时直接使用下方手动值。" ,
"default" : false ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
} ,
"advanced_cycle_start_offset" : {
"description" : "手动设置当前周期日" ,
"type" : "int" ,
"hint" : "0 表示自然推进;大于 0 时按当前六阶段总天数定位到对应周期日,并只应用一次。重启不会重复重置;修改数值或阶段天数后才会重新应用。" ,
"default" : 0 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 0 ,
"max" : 180 ,
"step" : 1
} ,
2026-07-24 00:25:43 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
} ,
"advanced_cycle_menstrual_days" : {
"description" : "月经期持续天数" ,
"type" : "int" ,
"default" : 5 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_menstrual_prompt" : {
"description" : "月经期状态描述" ,
"type" : "string" ,
"hint" : "作为 Bot 当前模拟状态的柔性背景,不应写成医学结论或固定台词。" ,
"default" : "处于月经期,身体更容易疲倦,情绪感受稍敏锐" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_menstrual_mood" : {
"description" : "月经期情绪底色" ,
"type" : "string" ,
"default" : "疲惫" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_menstrual_energy" : {
"description" : "月经期精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用。" ,
"default" : -12 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_follicular_days" : {
"description" : "卵泡期早持续天数" ,
"type" : "int" ,
"default" : 5 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_follicular_prompt" : {
"description" : "卵泡期早状态描述" ,
"type" : "string" ,
"default" : "处于卵泡期早,精力平稳回升,心情逐渐轻快" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_follicular_mood" : {
"description" : "卵泡期早情绪底色" ,
"type" : "string" ,
"default" : "轻快" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_follicular_energy" : {
"description" : "卵泡期早精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用;设为 0 仍会保留该阶段并继续推进。" ,
"default" : 0 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pre_ovulation_days" : {
"description" : "排卵前期持续天数" ,
"type" : "int" ,
"default" : 3 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pre_ovulation_prompt" : {
"description" : "排卵前期状态描述" ,
"type" : "string" ,
"default" : "处于排卵前期,身体逐渐轻盈,精力有所上升" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pre_ovulation_mood" : {
"description" : "排卵前期情绪底色" ,
"type" : "string" ,
"default" : "期待" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pre_ovulation_energy" : {
"description" : "排卵前期精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用。" ,
"default" : 8 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_ovulation_days" : {
"description" : "排卵期持续天数" ,
"type" : "int" ,
"default" : 1 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_ovulation_prompt" : {
"description" : "排卵期状态描述" ,
"type" : "string" ,
"default" : "处于排卵期,精力较充足,社交意愿稍有增强" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_ovulation_mood" : {
"description" : "排卵期情绪底色" ,
"type" : "string" ,
"default" : "明朗" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_ovulation_energy" : {
"description" : "排卵期精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用。" ,
"default" : 9 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_luteal_days" : {
"description" : "黄体期早持续天数" ,
"type" : "int" ,
"default" : 8 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_luteal_prompt" : {
"description" : "黄体期早状态描述" ,
"type" : "string" ,
"default" : "处于黄体期早,精力尚可,情绪整体平稳" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_luteal_mood" : {
"description" : "黄体期早情绪底色" ,
"type" : "string" ,
"default" : "平稳" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_luteal_energy" : {
"description" : "黄体期早精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用。" ,
"default" : 5 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pms_days" : {
"description" : "PMS 期持续天数" ,
"type" : "int" ,
"default" : 6 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pms_prompt" : {
"description" : "PMS 期状态描述" ,
"type" : "string" ,
"default" : "处于 PMS 期,精力有所下降,情绪波动稍明显" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pms_mood" : {
"description" : "PMS 期情绪底色" ,
"type" : "string" ,
"default" : "敏感" ,
2026-07-26 01:32:07 +08:00
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"advanced_cycle_pms_energy" : {
"description" : "PMS 期精力变化" ,
"type" : "int" ,
"hint" : "仅在关闭强度联动时使用。" ,
"default" : -8 ,
2026-07-26 01:32:07 +08:00
"slider" : {
"min" : -50 ,
"max" : 30 ,
"step" : 1
} ,
"condition" : {
"enable_advanced_cycle_strategy" : true
}
2026-07-24 00:25:43 +08:00
} ,
"humanized_state_intensity" : {
"description" : "拟人状态强度" ,
"type" : "int" ,
"hint" : "数值越高,睡眠不佳、健康、饥饿、周期等状态越容易出现且对能量影响越明显。不同状态有不同持续时间,并可叠加。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 50 ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"enable_rest_reply_simulation" : {
"description" : "启用休息回复闸门" ,
"type" : "bool" ,
"hint" : "开启后,当当前日程处于睡眠、午休或休息段时,普通被动回复会先经过休息闸门;未放行时静默不回复,避免睡眠中每条消息都醒来。" ,
"default" : false ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"rest_reply_mode" : {
"description" : "休息回复判定模式" ,
"type" : "string" ,
"default" : "probability" ,
"options" : [
"probability" ,
"llm"
] ,
"labels" : [
"仅概率醒来" ,
"模型判断是否醒来"
] ,
"hint" : "仅概率醒来:命中概率才回复;模型判断:由模型根据消息重要性、是否明确叫醒、情绪/安全需要等打分,达到阈值才回复。用户明确不要打扰会直接静默,紧急/明确叫醒会优先放行。" ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"rest_reply_probability" : {
"description" : "休息中概率回复(%) " ,
"type" : "int" ,
"hint" : "休息回复判定模式为“仅概率醒来”时使用。数值越低,睡眠/休息中越少被普通消息叫醒。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 18 ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"rest_reply_llm_threshold" : {
"description" : "模型醒来阈值" ,
"type" : "int" ,
"hint" : "休息回复判定模式为“模型判断是否醒来”时使用。模型会输出 0-100 分,达到该阈值才醒来回复;建议 60-75。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 65 ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"rest_reply_active_windows" : {
"description" : "休息闸门生效时段" ,
"type" : "string" ,
"hint" : "只有当前时间落入这些时段时,日程里的睡眠/午休/休息才会触发休息回复闸门。多个时段用逗号分隔,支持跨午夜,例如 23:00-08:30,12:20-13:40。留空则恢复旧行为: 全天按日程休息词触发。" ,
"default" : "23:00-08:30,12:20-13:40" ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"rest_reply_awake_grace_minutes" : {
"description" : "醒后免重判分钟数" ,
"type" : "int" ,
"hint" : "Bot 在休息中被明确叫醒、模型放行或概率命中并回复后,这段时间内不再对紧接着的每条消息重复判定“是否被吵醒”。设为 0 表示不保留醒后缓冲。" ,
"slider" : {
"min" : 0 ,
"max" : 240 ,
"step" : 5
} ,
"default" : 30 ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"enable_rest_backlog_reply" : {
"description" : "醒后补看私聊" ,
"type" : "bool" ,
"hint" : "开启后,休息闸门静默拦截的目标私聊会暂存为简短摘要;下一次醒来或被叫醒回复时,会自然带上这些漏看的消息作为上下文。只记录私聊,不记录群聊。" ,
"default" : true ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"rest_backlog_max_messages" : {
"description" : "醒后最多补看条数" ,
"type" : "int" ,
"hint" : "休息期间最多暂存多少条未回复私聊。超过后只保留最近几条,避免醒后一次性塞太多旧消息。" ,
"slider" : {
"min" : 1 ,
"max" : 12 ,
"step" : 1
} ,
"default" : 4 ,
"condition" : {
"enable_rest_backlog_reply" : true
}
} ,
"REST_WAKEUP_PROVIDER_ID" : {
"description" : "休息醒来判断模型ID" ,
"type" : "string" ,
"hint" : "可选。用于休息中是否醒来回复的轻量判断模型;留空时优先使用回复审校模型,再回退主模型。" ,
"default" : "" ,
"_special" : "select_provider" ,
"condition" : {
"enable_rest_reply_simulation" : true
}
} ,
"enable_busy_reply_gate" : {
"description" : "启用繁忙回复闸门" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,当前日程处于上课、学习、工作、开会等忙碌片段时,普通被动回复会随机延迟,但不会静默或丢失;紧急、安全和管理命令会立即放行。主动消息会顺延到忙碌结束并经过缓冲后再候选,用户预约、到期便签和环境突变不延后。" ,
"default" : false ,
"condition" : {
"enable_humanized_states" : true
}
} ,
"busy_reply_min_delay_seconds" : {
"description" : "繁忙回复最短延迟(秒)" ,
"type" : "int" ,
"hint" : "私聊普通消息命中繁忙日程时的最短等待时间,默认 60 秒。群聊会自动限制在 12 秒内,避免回复时话题已经变化。" ,
"slider" : {
"min" : 0 ,
"max" : 900 ,
"step" : 15
} ,
"default" : 60 ,
"condition" : {
"enable_busy_reply_gate" : true
}
} ,
"busy_reply_max_delay_seconds" : {
"description" : "繁忙回复最长延迟(秒)" ,
"type" : "int" ,
"hint" : "私聊普通消息命中繁忙日程时的最长等待时间,默认 300 秒;小于最短值时保存后会自动交换。最多可设为 900 秒。" ,
"slider" : {
"min" : 0 ,
"max" : 900 ,
"step" : 15
} ,
"default" : 300 ,
"condition" : {
"enable_busy_reply_gate" : true
}
} ,
"busy_reply_proactive_resume_buffer_minutes" : {
"description" : "忙完后主动缓冲(分钟)" ,
"type" : "int" ,
"hint" : "普通主动消息会移动到当前忙碌片段结束后,并再等待这段缓冲时间,避免刚下课或刚忙完就立刻发消息。用户预约、到期便签和环境突变保持及时。" ,
"slider" : {
"min" : 0 ,
"max" : 120 ,
"step" : 5
} ,
"default" : 10 ,
"condition" : {
"enable_busy_reply_gate" : true
}
}
}
} ,
"dream_diary_config" : {
"description" : "梦境" ,
"type" : "object" ,
"hint" : "控制增强梦境、梦后余韵、混合梦境主题和候选主题。" ,
"items" : {
"enable_enhanced_dreams" : {
"description" : "启用强化梦境生成" ,
"type" : "bool" ,
"hint" : "开启后,梦境不再只从固定文案随机,而会尝试根据最近日记、生活片段、重要日期和天气碎片,用单独模型拼出欠逻辑的梦境状态。失败时会自动回退到默认梦境池。" ,
"default" : false
} ,
"dream_afterglow_mode" : {
"description" : "梦境余韵影响强度" ,
"type" : "string" ,
"hint" : "控制梦对第二天前半段状态的影响强弱。自动模式会根据梦境内容和强度自行调节;轻/标准/明显会更固定地偏弱或偏强。" ,
"options" : [
"auto" ,
"轻" ,
"标准" ,
"明显"
] ,
"labels" : [
"自动" ,
"轻" ,
"标准" ,
"明显"
] ,
"default" : "auto" ,
"condition" : {
"enable_enhanced_dreams" : true
}
} ,
"enable_mixed_dream_themes" : {
"description" : "允许梦境题材轻微混搭" ,
"type" : "bool" ,
"hint" : "开启后,梦境主题除了单一题材,也可能出现奇幻+恐怖、怀旧+悬疑这类轻微交杂。" ,
"default" : true ,
"condition" : {
"enable_enhanced_dreams" : true
}
} ,
"enable_intimate_dream_theme" : {
"description" : "允许暧昧/春梦题材" ,
"type" : "bool" ,
"hint" : "开启后,强化梦境主题池里会加入较含蓄的暧昧春梦题材;默认关闭。" ,
"default" : false ,
"condition" : {
"enable_enhanced_dreams" : true
}
} ,
"dream_theme_candidates" : {
"description" : "梦境题材候选(逗号分隔)" ,
"type" : "string" ,
"hint" : "例如:温柔日常,奇幻,恐怖,追逐,悬疑,荒诞,怀旧,暧昧春梦。会从这些题材中随机抽取,并可按配置轻微混搭。" ,
"default" : "温柔日常,奇幻,恐怖,追逐,悬疑,荒诞,怀旧,暧昧春梦" ,
"condition" : {
"enable_enhanced_dreams" : true
}
}
}
} ,
"photo_action_config" : {
"description" : "主动图片行为" ,
"type" : "object" ,
"hint" : "控制主动发图、生图后端、ComfyUI/SDGen/外部图片 API 和负载保护。" ,
"items" : {
"enable_photo_text_action" : {
"description" : "允许主动拍照/生图" ,
"type" : "bool" ,
"hint" : "开启后,Bot 可能在合适动机下调用 ComfyUI、SDGen 或在线图片 API 生成图片,拿到图片后再由 LLM 自然写成主动消息并一起发送。生成成功即计入图片额度,即使发送失败也不会立刻继续生图。" ,
"default" : true
} ,
"photo_action_max_daily" : {
"description" : "每日主动生图最多次数" ,
"type" : "int" ,
"hint" : "按用户计数。真实生成出图片就会消耗额度,避免发送失败或重启后反复生图。设为 0 表示不限制,不建议。" ,
"slider" : {
"min" : 0 ,
"max" : 5 ,
"step" : 1
} ,
"default" : 1 ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"proactive_photo_text_probability" : {
"description" : "主动带图触发概率" ,
"type" : "int" ,
"hint" : "在主动拍照/生图可用、每日额度未用完,且本轮主动有生活画面或视觉切口时,把普通文字主动升级为带图的概率。不是每条主动都按这个概率发图。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 18 ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_backend" : {
"description" : "主动生图后端" ,
"type" : "string" ,
"hint" : "可填: auto、comfyui、sdgen、external、tool_call。auto 会在在线图片 API 配置完整时优先尝试在线 API,失败后回退本地 ComfyUI/astrbot_plugin_SDGen;未配置在线 API 时使用本地后端。tool_call 会调用其他插件注册的函数工具(需在下方填写工具名)。" ,
"default" : "auto" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"custom_photo_tool_name" : {
"description" : "自定义生图函数工具名" ,
"type" : "string" ,
"hint" : "生图后端选择 tool_call 时必填。填写其他插件通过 @filter.llm_tool 注册的函数工具名,例如 generate_selfie。插件会在生图时调用该工具并把结果解析为图片路径或图片数据。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"custom_photo_tool_prompt_param" : {
"description" : "生图工具的提示词参数名" ,
"type" : "string" ,
"hint" : "调用自定义生图工具时,提示词使用的参数名。默认为 prompt;如果目标工具用的是 description、text 或其他参数名,在此填写。" ,
"default" : "prompt" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"custom_photo_tool_kind_param" : {
"description" : "生图工具的类型参数名" ,
"type" : "string" ,
"hint" : "可选。如果目标工具支持传入生图类型(如 selfie/text2img/edit) ,在此填写对应参数名;留空则不传类型参数。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"custom_photo_tool_reference_param" : {
"description" : "生图工具的参考图参数名" ,
"type" : "string" ,
"hint" : "可选。如果目标工具支持参考图/改图,在此填写参考图路径对应的参数名;留空则不传参考图参数。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"custom_photo_tool_extra_params" : {
"description" : "生图工具的额外参数( JSON) " ,
"type" : "text" ,
"hint" : "可选。JSON 格式的额外参数,调用工具时会一并传入。例如 {“size”:“1024x1024”,“steps”:20};留空则不传额外参数。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"COMFYUI_TEXT2IMG_WORKFLOW_NAME" : {
"description" : "主动拍照文生图工作流名" ,
"type" : "string" ,
"hint" : "用于风景、小动物、桌面小物、普通随手拍等 photo_text 主动行为。需要存在 texts>=1、images=0、videos=0 的 ComfyUI 工作流文件。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"COMFYUI_SELFIE_WORKFLOW_NAME" : {
"description" : "主动自拍工作流名" ,
"type" : "string" ,
"hint" : "用于自拍/人像类 photo_text 主动行为。开启“人设/穿搭参考图一致性”并配置参考图后,会优先寻找 images=1、texts>=1、videos=0 的 ComfyUI 工作流;找不到则回退到纯文生图工作流。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_photo_reference_image" : {
"description" : "人设/穿搭参考图一致性" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,自拍、人像、头像、角色表情包等自动角色出镜链路会优先使用今日穿搭图或下方人设参考图来保持外观一致;关闭后不自动读取这些固定参考图,只按提示词生成。用户显式发送/引用图片要求改图时不受此开关影响。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_group_nsfw_private_fallback" : {
"description" : "群聊成图安全审核与私聊回退" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,群聊里生成的图片会先交给“插件识图模型”审核:只有安全图片正常发群;其余审核结果(含成人内容、无法确认、超时或模型不可用)都只尝试发送给本次请求者的私聊。仅影响群聊,私聊生图不受影响。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"group_nsfw_image_review_timeout_seconds" : {
"description" : "群聊成图安全审核超时秒数" ,
"type" : "float" ,
"hint" : "审核视觉模型单次最长等待时间。超时或模型不可用时不会发群,会改为尝试私聊本次请求者。" ,
"slider" : {
"min" : 3 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_group_nsfw_private_fallback" : true
}
} ,
"photo_persona_reference_image_path" : {
"description" : "人设参考图路径或图片 URL" ,
"type" : "string" ,
"hint" : "可选。仅在人设/穿搭参考图一致性开启时使用。可填 png/jpg/jpeg/webp 本地文件路径,也可填 http(s) 图片 URL;URL 会在首次自拍/人像生图前下载一次并自动回写为本地缓存路径。ComfyUI 会把它作为图片输入传给支持 images=1 的自拍工作流;在线图片 API 会优先尝试 OpenAI 兼容 /images/edits 参考图接口;SDGen 不支持参考图。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_photo_reference_image" : true
}
} ,
"photo_reference_library" : {
"description" : "带注释的参考图库" ,
"type" : "list" ,
"hint" : "可选,一行一张,格式为“图片路径或 URL || 用途注释”。注释应写清服装、地点和适用场景,例如: C:\\role_home.png || 居家服,在家、卧室、睡前或刚起床时使用。生成前 Bot 会结合最终画面提示词自动选择最合适的一张;今日穿搭图不再无条件优先。也可在私聊中发送一张或多张图片并使用“陪伴 参考图库 添加 注释”上传。最多保存 24 张。" ,
"default" : [ ] ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_photo_reference_image" : true
}
} ,
"enable_daily_outfit_photo" : {
"description" : "每日穿搭照片" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,每天日程生成并保存后会额外调用一次自拍/人像生图能力,根据当天日程、天气和状态生成角色当天穿搭照片,用作拓展页左上角 Logo。生成失败会自动间隔约3分钟重试,最多重试5次;当天成功或重试上限后不再重复请求。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_creative_cover_generation" : {
"description" : "为创作内容生成封面" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后,已有正文但没有封面的创作项目会在空闲创作推进时调用一次文生图能力生成封面,并根据悬疑、科幻奇幻、诗歌散文、古风、日常治愈等作品特征自动匹配画风。封面显示在书柜作品详情中;失败最多重试3次且带冷却。关闭后不再生成,但不会删除已有封面。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"daily_outfit_photo_prompt" : {
"description" : "每日穿搭额外提示词" ,
"type" : "string" ,
"hint" : "可选。补充角色今天穿搭的偏好,例如校服、便服、季节感、配色或固定饰品;留空则优先根据当天日程里的上课、出门、居家、雨天、换衣和饰品线索自动组织。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_daily_outfit_photo" : true
}
} ,
"daily_outfit_rotation_days" : {
"description" : "穿搭轮换冷却天数" ,
"type" : "int" ,
"hint" : "每日穿搭会记录最近成功生成的造型,并优先避开相同主色、外层和轮廓。本次生成至少会与最近一套改变两个可见维度;手动重生同样遵守。" ,
"slider" : {
"min" : 1 ,
"max" : 30 ,
"step" : 1
} ,
"default" : 10 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_daily_outfit_photo" : true
}
} ,
"enable_natural_language_photo_generation" : {
"description" : "允许规则快判生图/改图" ,
"type" : "bool" ,
"hint" : "只在“非指令生图处理方式”为 rule_fast 时生效。开启后,插件会在主链前直接接管高置信图片请求;默认建议使用 tool_first,让主链模型调用 pc_generate_photo。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"natural_language_photo_generation_mode" : {
"description" : "非指令生图处理方式" ,
"type" : "string" ,
"hint" : "可填: tool_first、rule_fast、off。tool_first 表示普通聊天先进主链,由模型调用 pc_generate_photo;rule_fast 表示插件在主链前用规则直接接管;off 表示不做非指令生图前置处理。" ,
"default" : "tool_first" ,
"options" : [
"tool_first" ,
"rule_fast" ,
"off"
] ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"command_photo_generation_max_daily" : {
"description" : "用户请求生图/改图每日上限" ,
"type" : "int" ,
"hint" : "按陪伴用户分别计数,统一限制“陪伴 生图/自拍/改图”显式指令与主链 pc_generate_photo 工具调用。独立于主动生图和 rule_fast 规则快判额度;0 表示不限量。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 0 ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"natural_language_photo_generation_max_daily" : {
"description" : "规则快判生图/改图每日上限" ,
"type" : "int" ,
"hint" : "只作用于 rule_fast 规则快判入口。成功生成或已实际请求后端但失败的情况会计入,避免接口异常时被反复请求。0 表示关闭规则快判生图/改图。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 2 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_natural_language_photo_generation" : true
}
} ,
"natural_language_photo_extra_prompt" : {
"description" : "规则快判生图附加提示词" ,
"type" : "text" ,
"hint" : "只作用于 rule_fast 规则快判入口,会接在用户要求后、风格与场景预设前。留空则不追加这段;全局固定附加提示词仍在所有生图最后追加。" ,
"default" : "clean clear image, natural composition, no unrelated text, no watermark, no logo, no explanatory panels" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_natural_language_photo_generation" : true
}
} ,
"comfyui_photo_wait_seconds" : {
"description" : "主动拍照等待生图秒数" ,
"type" : "int" ,
"hint" : "photo_text 会等待工作流完成,拿到图片后再和最终消息一起发送。超时则本次不冒充已经发图。" ,
"slider" : {
"min" : 5 ,
"max" : 600 ,
"step" : 5
} ,
"default" : 90 ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_local_photo_load_guard" : {
"description" : "电脑高负荷时延后本地生图" ,
"type" : "bool" ,
"hint" : "开启后,本地 ComfyUI/SDGen 生图前会读取 CPU/内存负载;负载偏高时跳过或延后本地生图。auto 模式下若在线图片 API 可用,会改走在线后端;只有本地后端时会延后本次主动行为。" ,
"default" : true ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"local_photo_cpu_busy_percent" : {
"description" : "本地生图 CPU 忙碌阈值" ,
"type" : "int" ,
"hint" : "系统 CPU 使用率达到该百分比时,认为电脑正忙,暂缓本地 ComfyUI/SDGen 生图。需要环境中可导入 psutil;不可用时会放行。" ,
"slider" : {
"min" : 1 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 85 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_local_photo_load_guard" : true
}
} ,
"local_photo_memory_busy_percent" : {
"description" : "本地生图内存忙碌阈值" ,
"type" : "int" ,
"hint" : "系统内存使用率达到该百分比时,认为电脑正忙,暂缓本地 ComfyUI/SDGen 生图。" ,
"slider" : {
"min" : 1 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 88 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_local_photo_load_guard" : true
}
} ,
"local_photo_defer_minutes" : {
"description" : "本地生图忙时延后分钟数" ,
"type" : "int" ,
"hint" : "只有本地生图后端可用且电脑高负荷时,本次 photo_text 主动计划会保留并延后这么久再重试。" ,
"slider" : {
"min" : 1 ,
"max" : 240 ,
"step" : 1
} ,
"default" : 30 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_local_photo_load_guard" : true
}
} ,
"external_image_api_platform" : {
"description" : "在线生图模型平台" ,
"type" : "string" ,
"hint" : "可填: auto、openai、agnes、sensenova、bailian、modelscope、doubao、gemini。agnes 适用于 Agnes Image 2.x,会使用官方 /v1/images/generations JSON 协议,并通过 extra_body.image 传参考图;auto 会按地址和模型名自动识别。" ,
"default" : "auto" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"EXTERNAL_IMAGE_API_BASE_URL" : {
"description" : "在线图片 API 地址" ,
"type" : "string" ,
"hint" : "Agnes Image 填写 https://apihub.agnes-ai.com/v1,模型使用 agnes-image-2.1-flash;SenseNova 填写 https://token.sensenova.cn/v1。其他 OpenAI 兼容平台可填写 API 根地址或完整 /images/generations。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"EXTERNAL_IMAGE_API_KEY" : {
"description" : "在线图片 API Key" ,
"type" : "string" ,
"hint" : "用于外接在线生图平台的鉴权。留空则不会启用这条后端。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"EXTERNAL_IMAGE_API_MODEL" : {
"description" : "在线图片模型" ,
"type" : "string" ,
"hint" : "必须填写该平台的图片模型名。Agnes 推荐 agnes-image-2.1-flash;openai 平台按兼容 images/generations 请求;bailian 可填 qwen-image、wan 系列;modelscope 会提交异步任务;doubao 可填 seedream;gemini 可填支持图片生成的 Gemini/Imagen 模型。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"external_image_api_size" : {
"description" : "在线生图尺寸" ,
"type" : "string" ,
"hint" : "格式如 1024x1024、768x1344。Agnes 队列项还可填写 1K、2K、3K、4K,并在拓展页单独填写 ratio;openai 平台会原样使用,bailian 会转换为 1024*1024 格式。" ,
"default" : "1024x1024" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"external_image_api_timeout_seconds" : {
"description" : "在线生图超时时间(秒)" ,
"type" : "int" ,
"hint" : "等待在线图片 API 返回结果的最长时间。超时后本次 photo_text 会自然失败,不会假装已经发图。" ,
"slider" : {
"min" : 20 ,
"max" : 600 ,
"step" : 10
} ,
"default" : 180 ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"external_image_api_custom_headers" : {
"description" : "在线生图自定义请求头" ,
"type" : "string" ,
"hint" : "可选。每行一个请求头,格式: Key: Value。例如 X-Custom-Header: 123\nX-Region: cn。会追加到生图 API 的 HTTP 请求头中,可用于鉴权、地区路由或自定义参数。留空则不追加。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"external_image_download_proxy" : {
"description" : "在线图片结果下载代理" ,
"type" : "string" ,
"hint" : "可选。仅用于下载在线生图接口返回的图片 URL,格式如 http://127.0.0.1:7890;不影响生图 API 请求或本地 ComfyUI/SDGen。若命令行下载走代理,可填写同一路径。仅支持 HTTP/HTTPS 代理。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"external_image_download_use_environment_proxy" : {
"description" : "在线图片下载继承环境代理" ,
"type" : "bool" ,
"hint" : "默认关闭。开启后仅下载在线生图结果时读取 HTTP_PROXY、HTTPS_PROXY 和 NO_PROXY 环境变量;适合 Bot 与 wget 需要走同一代理路径的部署。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_backup_external_image_api" : {
"description" : "启用备选在线图片 API" ,
"type" : "bool" ,
"hint" : "开启后,主在线图片 API 请求失败、超时或未配置完整时,会先尝试这组备选在线 API,再回退本地 ComfyUI/SDGen。" ,
"default" : false ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"backup_external_image_api_platform" : {
"description" : "备选在线生图模型平台" ,
"type" : "string" ,
"hint" : "可填: auto、openai、agnes、sensenova、bailian、modelscope、doubao、gemini。含义与主在线生图平台一致,只在备选在线 API 生效时使用。" ,
"default" : "auto" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"BACKUP_EXTERNAL_IMAGE_API_BASE_URL" : {
"description" : "备选在线图片 API 地址" ,
"type" : "string" ,
"hint" : "主在线图片 API 失败后才会使用。支持 SenseNova U1 Fast、OpenAI 兼容 images、阿里云百炼、魔搭社区、豆包/火山方舟 Seedream 和 Gemini 图片接口。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"BACKUP_EXTERNAL_IMAGE_API_KEY" : {
"description" : "备选在线图片 API Key" ,
"type" : "string" ,
"hint" : "备选在线图片 API 的鉴权 Key。留空则不会启用备选后端。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"BACKUP_EXTERNAL_IMAGE_API_MODEL" : {
"description" : "备选在线图片模型" ,
"type" : "string" ,
"hint" : "备选平台的图片模型名,不要填写聊天/文本模型。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"backup_external_image_api_size" : {
"description" : "备选在线生图尺寸" ,
"type" : "string" ,
"hint" : "格式如 1024x1024、768x1344。留空时按 1024x1024 处理。" ,
"default" : "1024x1024" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"backup_external_image_api_timeout_seconds" : {
"description" : "备选在线生图超时时间(秒)" ,
"type" : "int" ,
"hint" : "等待备选在线图片 API 返回结果的最长时间。" ,
"slider" : {
"min" : 20 ,
"max" : 600 ,
"step" : 10
} ,
"default" : 180 ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"backup_external_image_api_custom_headers" : {
"description" : "备选在线生图自定义请求头" ,
"type" : "string" ,
"hint" : "可选。每行一个请求头,格式: Key: Value。仅在备选在线图片 API 生效时使用。留空则不追加。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true ,
"enable_backup_external_image_api" : true
}
} ,
"external_image_api_endpoints" : {
"description" : "在线生图 API 优先级队列" ,
"type" : "list" ,
"hint" : "可选。用于配置任意数量的在线生图 API,数组顺序就是尝试顺序。每项支持 name、enabled、platform、base_url、api_key、model、size、ratio、timeout_seconds、custom_headers。Agnes 可用 size=1K-4K 与 ratio=1:1/2:3/16:9 等组合;为空时继续沿用主用/备选字段。" ,
"default" : [ ] ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_prompt_format" : {
"description" : "生图提示词表达方式" ,
"type" : "string" ,
"options" : [
"traditional" ,
"natural_language"
] ,
"option_labels" : [
"传统文生图提示词(标签/短语)" ,
"自然语言描述"
] ,
"hint" : "控制所有图片生成最终提交给后端的提示词组织方式。传统模式使用 Positive/Negative prompt 与逗号分隔短语,适合 Stable Diffusion、ComfyUI 等标签式工作流;自然语言模式使用连贯英文场景描述,适合理解长描述的多模态图片模型。不会改变生图后端或参考图设置。" ,
"default" : "traditional" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_style" : {
"description" : "主动生图风格" ,
"type" : "string" ,
"hint" : "可填:真实、二次元、其他。会影响 photo_text 的生图提示词风格倾向。" ,
"default" : "真实" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_style_custom_prompt" : {
"description" : "主动生图自定义风格说明" ,
"type" : "string" ,
"hint" : "当主动生图风格设为“其他”时,会把这里的内容作为额外风格要求注入提示词,例如:胶片感、像素风、轻复古插画。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_fixed_prompt" : {
"description" : "生图固定附加提示词" ,
"type" : "string" ,
"hint" : "可选。所有生图提交后端前都会追加这段固定提示词,包括主动随手拍、每日穿搭、自然语言文生图和引用/携带图片改图。适合放固定画质、角色细节、安全区或负面约束;留空不追加。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"photo_generation_scene_presets" : {
"description" : "生图场景预设" ,
"type" : "string" ,
"hint" : "可选。格式参考通用生图插件,一行一个:预设名:提示词。内置已有角色自拍、COS自拍、日常穿搭、镜前穿搭、头像特写、房间日常、可拍画面、表情包场景;普通穿搭默认走日常穿搭,只有明确镜前/对镜/镜子时才走镜前穿搭;自定义同名会覆盖内置。主动拍照、每日穿搭和自然语言生图会按请求自动套用匹配预设,并写入最近生图日志。" ,
"default" : "" ,
"condition" : {
"enable_photo_text_action" : true
}
}
}
} ,
"voice_action_config" : {
"description" : "主动语音行为" ,
"type" : "object" ,
"hint" : "控制主动语音、TTS 文本转换、语种、频率和约束。" ,
"items" : {
"enable_voice_action" : {
"description" : "允许主动发语音" ,
"type" : "bool" ,
"hint" : "开启后,Bot 可能在深夜、晚间、状态分享或想更贴近一点时主动留一小句语音。可使用当前会话的 AstrBot TTS provider,或联动 MiMo TTS Voice Clone 插件。" ,
"default" : false
} ,
"enable_tts_enhancement" : {
"description" : "TTS强化" ,
"type" : "bool" ,
"hint" : "支持中文聊天文本搭配外语语音块:标签外保留中文显示,<pc_tts> 内按配置语种朗读;外语语音块后若缺少中文含义,会在发送前自动补中文释义。统一处理生成路径、语种控制、发送前朗读文本清洗和主用户触发。语音可由 AstrBot TTS provider 或 MiMo TTS Voice Clone 插件生成。" ,
"default" : false
} ,
"tts_synthesis_backend" : {
"description" : "TTS语音合成后端" ,
"type" : "string" ,
"default" : "astrbot_provider" ,
"options" : [
"astrbot_provider" ,
"mimo_voice_clone" ,
"auto"
] ,
"labels" : [
"AstrBot 当前会话 TTS Provider" ,
"MiMo TTS Voice Clone 插件" ,
"自动:优先 AstrBot,无 Provider 时尝试 MiMo"
] ,
"hint" : "选择真正生成音频的后端,同时作用于 TTS 强化、主动语音和实时共处语音。MiMo 模式通过 AstrBot 工具管理器联动“MiMo TTS Voice Clone for AstrBot”,参考音频、克隆音色和默认风格仍在 MiMo 插件中管理;联动不可用但当前会话有 AstrBot TTS 时会自动回退。建议关闭 MiMo 插件自身的普通回复自动转语音,只保留音色管理和合成服务,避免同一回复生成两次语音。"
} ,
"tts_mimo_tool_name" : {
"description" : "MiMo Voice Clone 工具名" ,
"type" : "string" ,
"default" : "mimo_tts_speak" ,
"hint" : "目标插件默认注册为 mimo_tts_speak,通常无需修改。该工具可不开放给主模型直接调用,但必须保留注册供服务发现;仅当 MiMo 插件后续版本更改工具名时再填写。" ,
"condition" : {
"tts_synthesis_backend" : "mimo_voice_clone"
}
} ,
"tts_mimo_voice_name" : {
"description" : "MiMo Voice Clone 音色" ,
"type" : "string" ,
"default" : "" ,
"hint" : "可填写 MiMo 插件 Pages 中的音色名称或 ID;留空时由 MiMo 插件按用户、会话和其全局默认规则选择已上传的克隆音色。" ,
"condition" : {
"tts_synthesis_backend" : "mimo_voice_clone"
}
} ,
"tts_mimo_style_prompt" : {
"description" : "MiMo Voice Clone 临时风格" ,
"type" : "text" ,
"default" : "" ,
"hint" : "可选的临时语音风格指令,会作为 context 交给 MiMo 插件;留空时完全使用 MiMo 插件为该音色配置的默认风格和 AI 语音导演。" ,
"condition" : {
"tts_synthesis_backend" : "mimo_voice_clone"
}
} ,
"tts_generation_mode" : {
"description" : "TTS生成路径" ,
"type" : "string" ,
"default" : "fast_tag" ,
"options" : [
"fast_tag" ,
"postprocess"
] ,
"labels" : [
"快速标签:主模型写私有标签" ,
"后处理:判断+翻译模型"
] ,
"hint" : "快速标签模式追求低延迟:主模型可写 <pc_tts>,插件发送前轻处理。后处理模式追求稳定:主模型只写普通回复,发送前由 TTS 文本模型判断是否需要语音并完成翻译/改写。旧 hybrid/direct 会自动兼容为快速标签,旧 convert 会兼容为后处理。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_voice_language" : {
"description" : "TTS语音语种" ,
"type" : "string" ,
"default" : "ja" ,
"options" : [
"ja" ,
"zh" ,
"en"
] ,
"labels" : [
"日语" ,
"中文" ,
"英语"
] ,
"hint" : "控制 <pc_tts> 标签内真正送入 TTS 的语种。可让标签外保留中文显示文本,标签内使用日语或英语朗读;日语模式会尽量避免把明显非日语文本直接送进 TTS,并会给缺少说明的外语语音块补中文释义。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_fishaudio_model" : {
"description" : "Fish Audio 模型适配" ,
"type" : "string" ,
"default" : "auto" ,
"options" : [
"auto" ,
"s2.1-pro-free" ,
"s2.1-pro" ,
"s2-pro" ,
"s1"
] ,
"labels" : [
"自动识别(官方接口默认 S2.1 Free) " ,
"S2.1 Pro Free" ,
"S2.1 Pro" ,
"S2 Pro" ,
"S1 旧版"
] ,
"hint" : "只在当前会话使用 Fish Audio TTS provider 时生效。S2/S2.1 使用方括号自然语言控制,S1 使用圆括号固定标签。自动模式读取 provider 模型;官方 Fish Audio 接口未声明模型时按文档使用 s2.1-pro-free,自建兼容接口不会被强制改写。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_fishaudio_emotion_mode" : {
"description" : "Fish Audio 情绪控制" ,
"type" : "string" ,
"default" : "balanced" ,
"options" : [
"balanced" ,
"expressive" ,
"manual"
] ,
"labels" : [
"自然平衡(推荐)" ,
"更有表现力" ,
"手动控制"
] ,
"hint" : "只在 Fish Audio TTS 下生效。自然平衡会在最终合成前按上下文补 1 个主要情绪,必要时再补 1 个语气控制;更有表现力最多组合 3 个;手动控制不会自动补标,只保留已有合法控制词。无论转换模型是否输出标签,自动模式都会在 get_audio 前兜底,控制词不会显示在聊天正文中。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_delivery_mode" : {
"description" : "TTS发送形态" ,
"type" : "string" ,
"default" : "voice_and_text" ,
"options" : [
"voice_only" ,
"voice_and_text"
] ,
"labels" : [
"仅发送语音(替换文字)" ,
"语音和文字都发送"
] ,
"hint" : "控制语音合成成功后的最终消息形态。仅语音会隐藏对应文字;语音和文字都发送时,语音在前、对应文字在后。语音生成失败时始终保留文字兜底。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_foreign_text_mode" : {
"description" : "外语语音文字显示" ,
"type" : "string" ,
"default" : "translation" ,
"options" : [
"original" ,
"translation" ,
"bilingual"
] ,
"labels" : [
"显示朗读原文" ,
"显示中文译文" ,
"原文和中文都显示"
] ,
"hint" : "仅当语音语种为日语/英语且发送形态选择“语音和文字都发送”时生效。原文指最终送入 TTS 的外语朗读文本;中文译文会保持当前人格语气。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_conversion_scope" : {
"description" : "TTS转换范围" ,
"type" : "string" ,
"default" : "partial" ,
"options" : [
"partial" ,
"full"
] ,
"labels" : [
"局部转换:只朗读适合的一段" ,
"全量转换:朗读整条回复"
] ,
"hint" : "同时作用于快速标签自动语音和后处理路径。局部转换只选择适合听的一段并保留其余文字;全量转换要求语音覆盖整条回复的全部有效内容。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_conversion_provider_id" : {
"description" : "TTS文本转换模型Provider ID" ,
"type" : "string" ,
"default" : "" ,
"_special" : "select_provider" ,
"hint" : "这是文本模型,用于后处理判断+翻译、快速标签下的自动语音、语种修正和中文释义补全,不是语音合成模型。转换时会参考当前 AstrBot 人格的语气、称呼和距离感,避免变成纯机器翻译。留空时后处理模式会保持纯文本;真正合成音频由上方选择的 AstrBot TTS 或 MiMo Voice Clone 后端完成。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_extra_prompt" : {
"description" : "TTS补充规则" ,
"type" : "text" ,
"default" : "" ,
"hint" : "只填写本人格或声线的额外要求。基础 <pc_tts> 格式、目标语种和 provider 情绪标签适配规则会自动生成,留空最稳。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_frequency_control_mode" : {
"description" : "TTS频率控制模式" ,
"type" : "string" ,
"default" : "global" ,
"options" : [
"global" ,
"legacy"
] ,
"labels" : [
"全局频控:间隔+概率控制双路径" ,
"旧版行为:按各路径原逻辑触发"
] ,
"hint" : "选择频率规则。全局频控用概率影响快速标签模式下 LLM 是否倾向输出 TTS,并控制后处理模式是否进入判断+翻译;弱约束下显式 <pc_tts>/<tts> 不再被概率剥离,只受 provider 和会话间隔保护;强约束下按约束强度硬拦。旧版行为保留旧自动语音细项。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_constraint_mode" : {
"description" : "TTS约束强度" ,
"type" : "string" ,
"default" : "weak" ,
"options" : [
"weak" ,
"strong"
] ,
"labels" : [
"弱约束:提示词引导,保留模型决定权" ,
"强约束:未命中/冷却内硬禁语音"
] ,
"hint" : "仅快速标签模式 + 全局频控生效。弱约束保持提示词引导:概率未命中时要求模型默认不用语音,显式 <pc_tts>/<tts> 仍交给插件处理。强约束会在概率未命中或会话冷却内注入“本轮禁止语音”的反向提示词,并在发送前阻止任何语音生成。后处理模式不显示也不使用该项。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_session_min_interval_seconds" : {
"description" : "TTS会话最小间隔秒数" ,
"type" : "float" ,
"default" : 90 ,
"min" : 0 ,
"hint" : "仅全局频控生效。同一会话两次真正发送语音之间的最小间隔;0 表示不限制。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_private_min_interval_seconds" : {
"description" : "私聊TTS最小间隔秒数" ,
"type" : "float" ,
"default" : -1 ,
"min" : -1 ,
"hint" : "仅全局频控生效。私聊会话的最小间隔覆盖值;-1 表示继承 TTS 会话最小间隔秒数,0 表示私聊不限制。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_group_min_interval_seconds" : {
"description" : "群聊TTS最小间隔秒数" ,
"type" : "float" ,
"default" : -1 ,
"min" : -1 ,
"hint" : "仅全局频控生效。群聊会话的最小间隔覆盖值;-1 表示继承 TTS 会话最小间隔秒数,0 表示群聊不限制。建议群聊比私聊更长。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_trigger_probability" : {
"description" : "TTS全局触发概率(%)" ,
"type" : "int" ,
"default" : 25 ,
"min" : 0 ,
"max" : 100 ,
"hint" : "仅全局频控生效。作为私聊/群聊未覆盖时的默认触发概率;概率未命中时本轮不注入 TTS 提示词,也不进入后处理语音判断;弱约束不会剥离 LLM 自发输出的语音标签。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_private_trigger_probability" : {
"description" : "私聊TTS触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"min" : -1 ,
"max" : 100 ,
"hint" : "仅全局频控生效。私聊触发概率覆盖值;-1 表示继承 TTS 全局触发概率,0 表示私聊默认不主动使用 TTS。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_group_trigger_probability" : {
"description" : "群聊TTS触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"min" : -1 ,
"max" : 100 ,
"hint" : "仅全局频控生效。群聊触发概率覆盖值;-1 表示继承 TTS 全局触发概率。建议群聊低于私聊,避免打扰。" ,
"condition" : {
"enable_tts_enhancement" : true
}
}
}
} ,
"voice_playback_config" : {
"description" : "语音本机播放" ,
"type" : "object" ,
"hint" : "控制生成后本机播放、直播字幕同步、音量和播放间隔。" ,
"items" : {
"enable_tts_local_playback" : {
"description" : "TTS生成后本机播放" ,
"type" : "bool" ,
"default" : false ,
"hint" : "开启后,TTS 音频生成成功时会在运行 AstrBot 的电脑上直接播放。默认关闭,避免群聊自动语音频繁出声。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"enable_tts_local_playback_live_only" : {
"description" : "直播时仅播放直播回应消息" ,
"type" : "bool" ,
"default" : false ,
"hint" : "默认关闭:只要启用本机播放,所有来源的 TTS 音频都会尝试本机播放。开启后,本机播放只响应直播插件生成的直播回应语音;普通私聊、群聊或主动消息生成的 TTS 不会在本机出声。" ,
"condition" : {
"enable_tts_local_playback" : true
}
} ,
"enable_tts_live_subtitle_sync" : {
"description" : "同步到直播打字机字幕" ,
"type" : "bool" ,
"default" : false ,
"hint" : "开启后,TTS 生成音频时会把朗读文本同步推送到“我会直播圈米养你”的打字机字幕 overlay。需要直播插件字幕服务已启用并运行。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"tts_local_playback_volume" : {
"description" : "本机播放音量" ,
"type" : "int" ,
"default" : 35 ,
"min" : 0 ,
"max" : 100 ,
"hint" : "TTS 生成后在本机播放时使用的音量百分比。默认 35,避免突然满音量播放;0 表示静音。" ,
"condition" : {
"enable_tts_local_playback" : true
}
} ,
"tts_live_subtitle_url" : {
"description" : "直播字幕推送地址" ,
"type" : "string" ,
"default" : "http://127.0.0.1:18081/show" ,
"hint" : "直播插件字幕 overlay 的 /show 接口地址。默认对应 astrbot_plugin_live_stream_companion 的 subtitle_host/subtitle_port。" ,
"condition" : {
"enable_tts_live_subtitle_sync" : true
}
} ,
"tts_local_playback_min_interval_seconds" : {
"description" : "本机播放最小间隔秒数" ,
"type" : "float" ,
"default" : 0 ,
"min" : 0 ,
"hint" : "两次 TTS 本机播放之间的最小间隔。0 表示不限制;如果群聊自动语音较多,建议设置几秒避免连续出声。" ,
"condition" : {
"enable_tts_local_playback" : true
}
}
}
} ,
"auto_voice_config" : {
"description" : "自动语音" ,
"type" : "object" ,
"hint" : "控制快速标签自动语音概率、长度、冷却和主用户触发。" ,
"items" : {
"auto_voice_enabled" : {
"description" : "自动语音转换" ,
"type" : "bool" ,
"default" : false ,
"hint" : "仅快速标签模式生效。开启后,当模型没有写 <pc_tts>/<tts> 时,普通纯文本回复可以进入自动语音转换;后处理模式不依赖这个开关。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"auto_voice_full_conversion_enabled" : {
"description" : "自动语音完整转换" ,
"type" : "bool" ,
"default" : false ,
"hint" : "仅快速标签模式的自动语音生效。开启后,自动语音尽量把整条回复完整转换为一段语音;关闭时更偏向混合文本+语音。" ,
"invisible" : true ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"auto_voice_probability" : {
"description" : "自动语音触发概率(旧)" ,
"type" : "int" ,
"default" : 25 ,
"min" : 0 ,
"max" : 100 ,
"hint" : "仅旧版行为下生效。控制快速标签自动语音的旧触发概率;全局频控下请使用“TTS全局触发概率(%)”。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"auto_voice_max_chars" : {
"description" : "自动语音最大字数" ,
"type" : "int" ,
"default" : 50 ,
"min" : 0 ,
"hint" : "仅快速标签模式的自动语音生效。普通回复不超过该字数才参与自动语音;填 0 表示不限制。旧版主用户单独概率命中时不受此限制。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"auto_voice_cooldown_seconds" : {
"description" : "自动语音冷却秒数" ,
"type" : "int" ,
"default" : 120 ,
"min" : 0 ,
"hint" : "仅旧版行为下生效。同一会话成功触发快速标签自动语音后,需要等待多少秒才能再次触发;全局频控下请使用“TTS会话最小间隔秒数”。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"main_user_voice_probability" : {
"description" : "主用户触发概率(%)" ,
"type" : "int" ,
"default" : -1 ,
"min" : -1 ,
"max" : 100 ,
"hint" : "仅旧版行为下作为强触发概率使用。群聊中主用户本人发言或被 @ 到时,提高快速标签自动语音倾向;填 -1 表示继承旧自动语音概率。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"main_user_mention_voice_keywords" : {
"description" : "@主用户语音关键词" ,
"type" : "text" ,
"default" : "" ,
"hint" : "仅旧版行为下作为强触发条件使用。群聊 @ 到主用户且命中这些关键词时,参与主用户关键词语音判定。多个关键词可用逗号、空格或换行分隔。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"main_user_mention_voice_probability" : {
"description" : "@主用户关键词触发概率(%)" ,
"type" : "int" ,
"default" : 0 ,
"min" : 0 ,
"max" : 100 ,
"hint" : "仅旧版行为下生效。命中 @主用户语音关键词后的触发概率。0 表示不启用关键词强触发。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"main_user_mention_voice_prompt" : {
"description" : "@主用户关键词提示词" ,
"type" : "text" ,
"default" : "" ,
"hint" : "关键词规则命中后注入给模型的补充要求,例如更短、更贴近、使用某种声线。" ,
"condition" : {
"enable_tts_enhancement" : true
}
} ,
"voice_action_max_chars" : {
"description" : "主动语音最大字数" ,
"type" : "int" ,
"hint" : "限制单条主动语音实际会说的话长度,避免像念稿。越短越像真实私聊语音。" ,
"slider" : {
"min" : 6 ,
"max" : 80 ,
"step" : 2
} ,
"default" : 30 ,
"condition" : {
"enable_voice_action" : true
}
}
}
} ,
"weather_config" : {
"description" : "天气上下文与屏幕日记" ,
"type" : "object" ,
"hint" : "推荐先只开启天气上下文:已安装并配置 screen_companion 时会自动复用其天气能力;需要独立查询时,再填写 OpenWeatherMap Key 和一个地点(城市优先,经纬度二选一)。" ,
"items" : {
"enable_weather_context" : {
"description" : "启用天气上下文" ,
"type" : "bool" ,
"hint" : "开启后优先使用本插件的 OpenWeatherMap 配置;尚未配置自建天气时,会尝试回退复用 screen_companion。天气只作为日程、日记和主动契机的背景,不会每句聊天都提。" ,
"default" : true
} ,
"weather_api_key" : {
"description" : "天气 API Key" ,
"type" : "string" ,
"hint" : "仅独立查询时需要。访问 https://home.openweathermap.org/api_keys 创建 Key 后粘贴;还必须再填写“天气城市”或一组经纬度。留空时会尝试复用 screen_companion 的天气能力。" ,
"default" : "" ,
"condition" : {
"enable_weather_context" : true
}
} ,
"weather_city" : {
"description" : "天气城市(推荐)" ,
"type" : "string" ,
"hint" : "最省事的定位方式,例如 Beijing,CN、Shanghai,CN。城市已填写时会优先使用它,下面的经纬度会被忽略;不填城市才会使用经纬度。" ,
"default" : "" ,
"condition" : {
"enable_weather_context" : true
}
} ,
"weather_lat" : {
"description" : "天气纬度" ,
"type" : "float" ,
"hint" : "只在“天气城市”留空时生效。需与经度成对填写,例如北京约 39.9042。" ,
"default" : 0 ,
"condition" : {
"enable_weather_context" : true
}
} ,
"weather_lon" : {
"description" : "天气经度" ,
"type" : "float" ,
"hint" : "只在“天气城市”留空时生效。需与纬度成对填写,例如北京约 116.4074。" ,
"default" : 0 ,
"condition" : {
"enable_weather_context" : true
}
} ,
"weather_refresh_minutes" : {
"description" : "天气缓存刷新间隔(分钟)" ,
"type" : "int" ,
"hint" : "默认 90 分钟。保存新地点或 Key 后,可能仍会短暂使用旧缓存;等待刷新周期或重启插件即可看到新结果。" ,
"slider" : {
"min" : 10 ,
"max" : 720 ,
"step" : 10
} ,
"default" : 90 ,
"condition" : {
"enable_weather_context" : true
}
} ,
"enable_environment_change_proactive" : {
"description" : "环境突变主动消息" ,
"type" : "bool" ,
"hint" : "开启后独立轮询天气变化;首次只建立基线,之后仅在开始降雨/雷暴/降雪、雨雪停止、明显起雾或温差突变时生成短时主动候选。" ,
"default" : true ,
"condition" : {
"enable_weather_context" : true
}
} ,
"environment_change_check_minutes" : {
"description" : "环境突变检测间隔(分钟)" ,
"type" : "int" ,
"hint" : "决定突变发现速度,默认每 10 分钟强制刷新一次天气。间隔越短越及时,也会增加天气接口请求次数。" ,
"slider" : {
"min" : 5 ,
"max" : 60 ,
"step" : 5
} ,
"default" : 10 ,
"condition" : {
"enable_weather_context" : true ,
"enable_environment_change_proactive" : true
}
} ,
"environment_change_cooldown_minutes" : {
"description" : "环境突变消息冷却(分钟)" ,
"type" : "int" ,
"hint" : "相同环境变化在冷却期内不会重复进入主动候选。不同类型的明显突变仍可及时触发。" ,
"slider" : {
"min" : 20 ,
"max" : 360 ,
"step" : 10
} ,
"default" : 90 ,
"condition" : {
"enable_weather_context" : true ,
"enable_environment_change_proactive" : true
}
}
}
} ,
"experimental_motivation_config" : {
"description" : "实验性功能" ,
"type" : "object" ,
"hint" : "心理机制、动机调度、角色贴合校准和情绪余波等探索性功能。除已存在的情绪模拟会保留原默认值外,其它实验项默认关闭;建议逐项开启观察,不把理论标签写进实际回复正文。" ,
"items" : {
"enable_maslow_motivation_experiment" : {
"description" : "启用需求强化功能" ,
"type" : "bool" ,
"hint" : "开启后,主动候选会先被归入类似马斯洛需求层级的内部需求结构,再轻量调整候选价值和打扰压力。该功能仍处实验阶段,建议先低强度观察。" ,
"default" : false
} ,
"enable_maslow_schedule_influence" : {
"description" : "允许影响日程生成" ,
"type" : "bool" ,
"hint" : "需求强化功能的子选项,默认关闭。开启后,日程生成器会把状态、安全、归属、尊重、成长、意义等内部需求层当作轻量倾向,影响今天更偏休息、探索、等待、准备或低打扰互动;不会把层级术语写进日程正文。" ,
"default" : false ,
"condition" : {
"enable_maslow_motivation_experiment" : true
}
} ,
"maslow_motivation_strength" : {
"description" : "需求强化影响强度" ,
"type" : "int" ,
"hint" : "控制需求强化对主动候选排序的影响。0 表示只记录层级、不改变排序;35 为温和默认;100 会更明显偏向有明确关系/状态/成长由头的主动念头。" ,
"slider" : {
"min" : 0 ,
"max" : 100 ,
"step" : 1
} ,
"default" : 35 ,
"condition" : {
"enable_maslow_motivation_experiment" : true
}
} ,
"enable_experimental_motivation_model" : {
"description" : "启用驱力-诱因-唤醒调度" ,
"type" : "bool" ,
"hint" : "实验性功能第二项。结合驱力理论、诱因理论和唤醒理论,对主动计划做轻量调权:驱力表示 Bot 内部想开口,诱因表示当前候选是否有值得说的外部价值,唤醒表示当前状态是否适合行动。默认关闭;开启后会在主动排障页显示“实验动机调度”。" ,
"default" : false
} ,
"enable_personality_iteration_experiment" : {
"description" : "启用角色贴合校准" ,
"type" : "bool" ,
"hint" : "实验性功能第三项。基于艾森克 PEN、大五人格、依恋风格和自我决定理论,检查 Bot 当前行为是否贴近角色基线,并告诉用户应该调整 AstrBot 人格、世界知识、主动策略还是群聊边界。默认关闭;默认只给建议,不自动改写 AstrBot 人格或世界知识。" ,
"default" : false
} ,
"enable_personality_iteration_auto_tune" : {
"description" : "允许自主调节参数" ,
"type" : "bool" ,
"hint" : "角色贴合校准的子选项。开启后,排障/实验页刷新时可按诊断结果临时覆盖少量主动策略参数,例如主动上限、空闲判定、最小间隔、主动人格放行阈值和主动复核强度;不会改写人格正文或世界知识。用户手动修改这些参数后会记录为新的手动值;关闭角色贴合校准或关闭本项时,恢复到用户最后一次手动设置的值。" ,
"default" : false ,
"condition" : {
"enable_personality_iteration_experiment" : true
}
} ,
"enable_emotion_simulation" : {
"description" : "启用情绪模拟" ,
"type" : "bool" ,
"hint" : "实验性情绪余波。维护 Bot 自身短期情绪,例如被刺到后的收敛、缓和后的恢复,以及不满时的短暂回避;会结合四维状态、基本/复合情绪和调节策略影响回复。该项迁入实验性功能但保留原默认值,避免更新后行为突变。" ,
"default" : true ,
"condition" : {
"enable_mai_style_integration" : true
}
} ,
"enable_llm_emotion_judgement" : {
"description" : "启用模型复核情绪变化" ,
"type" : "bool" ,
"hint" : "开启后,本地快判会先记录;可疑边界、玩笑、道歉、安抚或负向表达会交给模型后台复核,再更新短期情绪余波。本轮被动回复不等待模型,仍使用缓存情绪状态,默认关闭以保持低延迟。" ,
"default" : false ,
"condition" : {
"enable_emotion_simulation" : true
}
} ,
"emotion_judgement_mode" : {
"description" : "模型复核范围" ,
"type" : "string" ,
"hint" : "suspicious 只复核容易误判或已命中情绪信号的消息;always 会复核所有普通文本消息。复核异步进行,结果主要影响后续回复和主动行为。" ,
"default" : "suspicious" ,
"condition" : {
"enable_llm_emotion_judgement" : true
}
} ,
"emotional_gate_hurt_threshold" : {
"description" : "伤心触发阈值" ,
"type" : "int" ,
"hint" : "用户消息被判定为足够刺痛且达到该值时,Bot 才会短期变得更安静、更收着。越高越不容易触发;轻度玩笑和普通边界不会直接触发。应低于“生气触发阈值”。" ,
"slider" : {
"min" : 10 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 70 ,
"condition" : {
"enable_emotion_simulation" : true
}
} ,
"emotional_gate_refuse_threshold" : {
"description" : "生气触发阈值" ,
"type" : "int" ,
"hint" : "累计刺痛感达到该值后,Bot 才会表现出更明显的不满和短暂回避。建议保持较高,只让连续明确伤害触发。" ,
"slider" : {
"min" : 20 ,
"max" : 100 ,
"step" : 5
} ,
"default" : 90 ,
"condition" : {
"enable_emotion_simulation" : true
}
} ,
"emotional_gate_recovery_per_hour" : {
"description" : "每小时缓和量" ,
"type" : "int" ,
"hint" : "情绪余波会随时间自然回到稳定;道歉、安抚、夸奖也会额外缓和。" ,
"slider" : {
"min" : 1 ,
"max" : 60 ,
"step" : 1
} ,
"default" : 24 ,
"condition" : {
"enable_emotion_simulation" : true
}
} ,
"emotional_gate_max_hurt_minutes" : {
"description" : "最长收敛分钟" ,
"type" : "int" ,
"hint" : "单次刺痛事件造成的最长主动暂停/收敛时长。默认较短,避免情绪余波长时间压低回复;道歉或安抚可以提前恢复。" ,
"slider" : {
"min" : 10 ,
"max" : 720 ,
"step" : 10
} ,
"default" : 90 ,
"condition" : {
"enable_emotion_simulation" : true
}
}
}
} ,
"legacy_compat_config" : {
"description" : "旧版兼容项" ,
"type" : "object" ,
"hint" : "保留旧配置键用于迁移兼容,通常不需要手动修改。" ,
"items" : {
"target_group_ids" : {
"description" : "群聊陪伴目标群号(旧配置,等同白名单)" ,
"type" : "list" ,
"hint" : "兼容旧版本。现在建议改用 group_whitelist_ids;这里填写的群号仍会并入白名单。" ,
"default" : [ ] ,
"invisible" : true
} ,
"require_target_group" : {
"description" : "只观察配置的目标群(旧开关)" ,
"type" : "bool" ,
"hint" : "兼容旧版本。现在主要由 group_access_mode 控制;白名单模式天然只观察白名单群。" ,
"default" : true ,
"invisible" : true
} ,
"COMFYUI_PHOTO_WORKFLOW_NAME" : {
"description" : "主动拍照工作流名(兼容旧配置)" ,
"type" : "string" ,
"hint" : "旧版单工作流字段。若新的文生图/自拍工作流名留空,会用这里作为兜底;建议改用 COMFYUI_TEXT2IMG_WORKFLOW_NAME 和 COMFYUI_SELFIE_WORKFLOW_NAME 分开配置。" ,
"default" : "" ,
"invisible" : true ,
"condition" : {
"enable_photo_text_action" : true
}
} ,
"enable_segmented_proactive_reply" : {
"description" : "主动文本分段发送" ,
"type" : "bool" ,
"hint" : "开启后,较短的主动文本部分会按配置切分为多条短消息发送;图片、语音等媒体仍按附件或单独消息发送,不占用文本分段数。创作分享会自动保持整段,避免小说片段被拆碎。默认关闭,避免主动消息显得过于打扰。" ,
"default" : false
} ,
"segmented_proactive_scope" : {
"description" : "分段作用范围" ,
"type" : "string" ,
"hint" : "插件主动:只拆插件主动消息的文本部分;全部 LLM 回复: 普通模型纯文本回复也按同一规则拆分。图片、语音、AT 等复杂消息本身不会被拆,插件主动媒体会在文本分段后继续单独发送。" ,
"options" : [
"proactive_only" ,
"all_llm"
] ,
"default" : "proactive_only" ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_chat_scope" : {
"description" : "分段会话范围" ,
"type" : "string" ,
"hint" : "控制分段功能在哪类会话生效。全部:私聊和群聊都可分段;仅私聊:群聊保持整条;仅群聊:私聊保持整条。" ,
"options" : [
"all" ,
"private" ,
"group"
] ,
"labels" : [
"全部" ,
"仅私聊" ,
"仅群聊"
] ,
"default" : "all" ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_threshold" : {
"description" : "主动文本不分段字数阈值" ,
"type" : "int" ,
"hint" : "参考 proactive_chat: 如果回复内容超过此值,则不进行分段,避免长文被切碎。" ,
"slider" : {
"min" : 20 ,
"max" : 1024 ,
"step" : 2
} ,
"default" : 500 ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_min_segment_chars" : {
"description" : "主动短片段合并阈值" ,
"type" : "int" ,
"hint" : "分段后短于该字数的片段会自动并入相邻消息,避免“哈哈”“我也觉得”这类短句单独发成一条。" ,
"slider" : {
"min" : 1 ,
"max" : 40 ,
"step" : 1
} ,
"default" : 8 ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_max_segments" : {
"description" : "主动文本最多分段数" ,
"type" : "int" ,
"hint" : "单条主动文本最多拆成几条消息。默认 3,防止一条主动被拆成刷屏;图片、语音和附加组件不计入这个文本段数。" ,
"slider" : {
"min" : 1 ,
"max" : 8 ,
"step" : 1
} ,
"default" : 3 ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_send_as_forward" : {
"description" : "分段后以合并消息发送" ,
"type" : "bool" ,
"hint" : "开启后,文本被切成多段时会优先打包成合并转发消息发送,减少刷屏;平台不支持或发送失败时会自动回退为普通逐条分段。默认关闭。" ,
"default" : false ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_split_mode" : {
"description" : "主动分段模式" ,
"type" : "string" ,
"hint" : "regex: 按正则表达式切分,适合中文标点和换行;words: 按下方分段词列表切分,适合自定义固定分隔符。" ,
"options" : [
"regex" ,
"words"
] ,
"labels" : [
"正则表达式" ,
"分段词列表"
] ,
"default" : "regex" ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_regex" : {
"description" : "主动分段正则表达式" ,
"type" : "string" ,
"hint" : "仅在分段模式为 regex 时生效。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"segmented_proactive_split_mode" : "regex"
} ,
"default" : ".*?[。?!~…\\n]+|.+$"
} ,
"segmented_proactive_split_words" : {
"description" : "主动分段词列表" ,
"type" : "list" ,
"hint" : "仅在分段模式为 words 时生效;检测到列表中的任意词或换行时切分,并保留分隔符。建议一行一个分段词;中文逗号要单独写一行,或写“逗号”。英文点号会把连续 ... 当成一个省略号边界;配置了“……”时会自动兼容单个“…”。网址内部会自动保护,完整网址结束处可作为自然断点;括号、标题引号和 <image>/<video> 这类尖括号媒体块内容会自动保护。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"segmented_proactive_split_mode" : "words"
} ,
"default" : [
"。" ,
"?" ,
"! " ,
"~" ,
"…" ,
"“"
]
} ,
"enable_segmented_proactive_content_cleanup" : {
"description" : "主动分段内容清理" ,
"type" : "bool" ,
"hint" : "开启后,在每个分段发送前移除指定内容。括号、双引号和网址内的内容会被保留。" ,
"default" : false ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_content_cleanup_rule" : {
"description" : "主动分段内容清理正则" ,
"type" : "string" ,
"hint" : "仅在分段模式为 regex 时生效,例如 [\\n]。清理会跳过括号和双引号内的内容。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"enable_segmented_proactive_content_cleanup" : true ,
"segmented_proactive_split_mode" : "regex"
} ,
"default" : "[\\n]"
} ,
"segmented_proactive_content_cleanup_scope" : {
"description" : "主动分段内容清理范围" ,
"type" : "string" ,
"hint" : "all 会按旧逻辑清理片段中所有匹配内容;trailing 只清理每段末尾连续出现的清理词/正则,适合只去掉句尾标点。" ,
"options" : [
"all" ,
"trailing"
] ,
"labels" : [
"全段清理" ,
"仅句尾清理"
] ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"enable_segmented_proactive_content_cleanup" : true
} ,
"default" : "all"
} ,
"segmented_proactive_content_cleanup_words" : {
"description" : "主动分段内容清理词列表" ,
"type" : "list" ,
"hint" : "仅在分段模式为 words 时生效;scope=all 时每一项会按原文移除,scope=trailing 时只移除每段末尾连续出现的词。清理会跳过括号和双引号内的内容。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"enable_segmented_proactive_content_cleanup" : true ,
"segmented_proactive_split_mode" : "words"
} ,
"default" : [
"\n"
]
} ,
"enable_segmented_proactive_content_replacement" : {
"description" : "主动分段内容替换" ,
"type" : "bool" ,
"hint" : "开启后,先按下方规则替换正文,再计算长度并执行分段。网址、图片、语音、文件和 TTS 标签内容不会被替换。" ,
"default" : false ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_content_replacements" : {
"description" : "主动分段内容替换规则" ,
"type" : "list" ,
"hint" : "每行一条,格式为 原内容 => 新内容,按从上到下的顺序全量替换。例如:主人 => 比折大人。可用 <space>、<newline>、<tab>,替换结果写 <empty> 可删除匹配内容。" ,
"default" : [ ] ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"enable_segmented_proactive_content_replacement" : true
}
} ,
"segmented_proactive_interval_method" : {
"description" : "主动分段间隔算法" ,
"type" : "string" ,
"options" : [
"random" ,
"log"
] ,
"labels" : [
"随机" ,
"按字数对数"
] ,
"hint" : "random 使用最小/最大秒数;log 按分段字数估算等待时间。" ,
"default" : "log" ,
"condition" : {
"enable_segmented_proactive_reply" : true
}
} ,
"segmented_proactive_interval_min" : {
"description" : "主动分段最小间隔秒数" ,
"type" : "float" ,
"hint" : "仅在随机间隔算法下使用。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"segmented_proactive_interval_method" : "random"
} ,
"default" : 1.5
} ,
"segmented_proactive_interval_max" : {
"description" : "主动分段最大间隔秒数" ,
"type" : "float" ,
"hint" : "仅在随机间隔算法下使用。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"segmented_proactive_interval_method" : "random"
} ,
"default" : 3.5
} ,
"segmented_proactive_log_base" : {
"description" : "主动分段对数底数" ,
"type" : "float" ,
"hint" : "仅在按字数对数间隔算法下使用。" ,
"condition" : {
"enable_segmented_proactive_reply" : true ,
"segmented_proactive_interval_method" : "log"
} ,
"default" : 1.8
} ,
"timezone" : {
"description" : "旧版时区" ,
"type" : "string" ,
"hint" : "旧版 timezone 配置项;现在请使用 environment_perception_timezone。" ,
"default" : "" ,
"invisible" : true
} ,
"enable_maintenance_token_saver" : {
"description" : "旧版 Token 节省开关" ,
"type" : "bool" ,
"hint" : "旧版配置项;现在请使用 enable_daily_token_soft_limit。" ,
"default" : false ,
"invisible" : true
} ,
"maintenance_token_soft_limit" : {
"description" : "旧版 Token 软限额" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 daily_token_soft_limit。" ,
"default" : "" ,
"invisible" : true
} ,
"DIARY_PROVIDER_ID" : {
"description" : "旧版日记模型" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 DREAM_DIARY_PROVIDER_ID。" ,
"default" : "" ,
"invisible" : true
} ,
"DREAM_PROVIDER_ID" : {
"description" : "旧版梦境模型" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 DREAM_DIARY_PROVIDER_ID。" ,
"default" : "" ,
"invisible" : true
} ,
"enabled_proactive_actions" : {
"description" : "旧版主动能力列表" ,
"type" : "string" ,
"hint" : "旧版主动动作配置项;现在请使用各主动能力开关。" ,
"default" : "" ,
"invisible" : true
} ,
"allow_photo_text_action" : {
"description" : "旧版主动发图开关" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 enable_photo_text_action。" ,
"default" : "" ,
"invisible" : true
} ,
"allow_voice_action" : {
"description" : "旧版主动语音开关" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 enable_voice_action。" ,
"default" : "" ,
"invisible" : true
} ,
"creative_base_chars_per_hour" : {
"description" : "旧版创作字数" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 creative_chars_per_session。" ,
"default" : "" ,
"invisible" : true
} ,
"enable_hot_trend_sources" : {
"description" : "旧版热榜开关" ,
"type" : "bool" ,
"hint" : "旧版配置项;现在请使用 enable_news_daily_hot_read。" ,
"default" : false ,
"invisible" : true
} ,
"enable_jm_cosmos_integration" : {
"description" : "旧版夹层阅读开关" ,
"type" : "bool" ,
"hint" : "旧版配置项;现在请使用 enable_private_reading_integration。" ,
"default" : false ,
"invisible" : true
} ,
"enable_jm_cosmos_boredom_read" : {
"description" : "旧版无聊阅读开关" ,
"type" : "bool" ,
"hint" : "旧版配置项;现在请使用 enable_private_reading_boredom_read。" ,
"default" : false ,
"invisible" : true
} ,
"jm_cosmos_min_interval_hours" : {
"description" : "旧版阅读间隔" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 private_reading_min_interval_hours。" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_max_photo_count" : {
"description" : "旧版阅读图片数" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 private_reading_max_photo_count。" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_share_probability" : {
"description" : "旧版阅读分享概率" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 private_reading_share_probability。" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_default_keywords" : {
"description" : "旧版默认关键词" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 private_reading_default_keywords。" ,
"default" : "" ,
"invisible" : true
} ,
"jm_cosmos_blocked_tags" : {
"description" : "旧版屏蔽标签" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 private_reading_blocked_tags。" ,
"default" : "" ,
"invisible" : true
} ,
"JM_COSMOS_VISION_PROVIDER_ID" : {
"description" : "旧版夹层阅读视觉模型" ,
"type" : "string" ,
"hint" : "旧版配置项;现在请使用 PRIVATE_READING_VISION_PROVIDER_ID。" ,
"default" : "" ,
"invisible" : true
}
}
}
}