feat(kfc): 引入自定义决策提示并优化后续警告
增加了一个新的配置选项 `custom_decision_prompt`,允许用户提供具体指令来指导 Kokoro Flow Chatter 的决策过程。该提示会被整合到拆分和统一的提示生成中,以影响整体行为。 此外,系统的后续警告逻辑也得到了显著增强。警告现在更加细致和明确,提供了更清晰的建议,如在多次未响应的后续请求后选择 `do_nothing` 或结束对话,从而促进更健康的交互模式。配置模板中的内部版本已更新。
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[inner]
|
||||
version = "7.9.8"
|
||||
version = "7.9.9"
|
||||
|
||||
#----以下是给开发人员阅读的,如果你只是部署了MoFox-Bot,不需要阅读----
|
||||
#如果你想要修改配置文件,请递增version的值
|
||||
@@ -636,6 +636,13 @@ mode = "split"
|
||||
max_wait_seconds_default = 300 # 默认的最大等待秒数(AI发送消息后愿意等待用户回复的时间)
|
||||
enable_continuous_thinking = true # 是否在等待期间启用心理活动更新
|
||||
|
||||
# --- 自定义决策提示词 ---
|
||||
# 类似于AFC的planner_custom_prompt_content,允许用户自定义KFC的决策行为指导
|
||||
# 在unified模式下:会插入到完整提示词中,影响整体思考和回复生成
|
||||
# 在split模式下:只会插入到planner提示词中,影响决策规划,不影响replyer的回复生成
|
||||
# 留空则不生效
|
||||
custom_decision_prompt = ""
|
||||
|
||||
# --- 等待策略 ---
|
||||
[kokoro_flow_chatter.waiting]
|
||||
default_max_wait_seconds = 300 # LLM 未给出等待时间时的默认值
|
||||
|
||||
Reference in New Issue
Block a user