@yeaft/webchat-agent 0.0.137 → 0.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/conversation.js +1 -0
- package/package.json +1 -1
package/conversation.js
CHANGED
|
@@ -395,6 +395,7 @@ export async function handleUserInput(msg) {
|
|
|
395
395
|
state.turnActive = true;
|
|
396
396
|
state.turnResultReceived = false; // 重置 per-turn 去重标志
|
|
397
397
|
sendConversationList(); // 在 turnActive=true 后通知 server,确保 processing 状态正确
|
|
398
|
+
sendOutput(conversationId, userMessage);
|
|
398
399
|
state.inputStream.enqueue(userMessage);
|
|
399
400
|
}
|
|
400
401
|
|