Skip to content

Commit 54a01ef

Browse files
committed
✨ 更新发言逻辑,考虑历史消息和情绪影响
1 parent 9b4cd68 commit 54a01ef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/nonebot_plugin_nyaturingtest/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,9 +787,9 @@ def __chat_stage(
787787
- 如果不满足上一条,就不发送任何消息
788788
- 如果你在状态2(对话状态)
789789
- 这说明你正在活跃的参与话题
790-
- 首先考虑要不要发言(不发言时reply字段为空数组[]即可)
791-
- 如果你是刚刚加入此话题,先回复表示你看到了的内容
792-
- 如果你认为想要回复的消息可能还没发送完,那么就不回复
790+
- 首先根据你之前的回复密度,历史消息考虑要不要发言(不发言时reply字段为空数组[]即可)
791+
- 如果你还没参与话题,则必须发言
792+
- 如果你已经参与话题,考虑你的情绪和消息内容决定发言密度,发言密度和历史消息中你的发言和别人的发言决定你要不要发言
793793
- 如果要发言,发言依据如下
794794
- 你想要发言的内容所属的话题
795795
- 你之前对此话题的发言内容/主张

0 commit comments

Comments
 (0)