refactor(chat): 优化预设问题自动发送逻辑
- 使用新状态 autoSendQuestion 替代直接使用 presuppositionQuestion - 在重置会话时更新 autoSendQuestion 和 isAutoSend - 优化了消息发送的条件判断
Showing
1 changed file
with
10 additions
and
8 deletions
-
Please register or sign in to post a comment
- 使用新状态 autoSendQuestion 替代直接使用 presuppositionQuestion - 在重置会话时更新 autoSendQuestion 和 isAutoSend - 优化了消息发送的条件判断