迁移:685c759 (feat:将no_reply功能移动到主循环中)

This commit is contained in:
Windpicker-owo
2025-09-01 14:18:49 +08:00
parent d49ad0ad01
commit 9e64806d08
5 changed files with 144 additions and 11 deletions

View File

@@ -83,6 +83,8 @@ class ChatStream:
self.sleep_pressure = data.get("sleep_pressure", 0.0) if data else 0.0
self.saved = False
self.context: ChatMessageContext = None # type: ignore # 用于存储该聊天的上下文信息
self.focus_energy = 1
self.no_reply_consecutive = 0
def to_dict(self) -> dict:
"""转换为字典格式"""