feat(affinity_flow_chatter): 增强动作思考过程在回复生成中的集成

添加了将动作思考过程集成到回复生成流程的功能:
- 在 generator_api 中新增逻辑,将 action_data 中的 thinking 字段内容添加到 extra_info
- 优化 plan_filter 中对 thinking 字段的处理逻辑,避免添加无意义的默认值
- 更新默认生成器提示词,移除冗余的关系信息块重复
- 在 planner 提示词中添加不对表情包消息回应的限制
This commit is contained in:
Windpicker-owo
2025-09-24 13:53:54 +08:00
parent 9ca8d5d1c0
commit 37f9b46bcf
5 changed files with 14 additions and 3 deletions

View File

@@ -104,7 +104,9 @@ def init_prompt():
## 其他信息
{memory_block}
{relation_info_block}
{extra_info_block}
{action_descriptions}
## 任务
@@ -112,7 +114,7 @@ def init_prompt():
*{chat_scene}*
### 核心任务
- 你现在的主要任务是和 {sender_name} 聊天。{relation_info_block}同时,也有其他用户会参与聊天,你可以参考他们的回复内容,但是你现在想回复{sender_name}的发言。
- 你现在的主要任务是和 {sender_name} 聊天。同时,也有其他用户会参与聊天,你可以参考他们的回复内容,但是你现在想回复{sender_name}的发言。
- {reply_target_block} 你需要生成一段紧密相关且能推动对话的回复。