mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-09-29 04:32:04 +02:00
Add files via upload
This commit is contained in:
@@ -691,6 +691,9 @@ function handleStreamEvent(event, progressElement, progressId,
|
|||||||
};
|
};
|
||||||
|
|
||||||
switch (event.type) {
|
switch (event.type) {
|
||||||
|
case 'heartbeat':
|
||||||
|
// SSE 长连接保活,无需更新 UI
|
||||||
|
break;
|
||||||
case 'conversation':
|
case 'conversation':
|
||||||
if (event.data && event.data.conversationId) {
|
if (event.data && event.data.conversationId) {
|
||||||
// 在更新之前,先获取任务对应的原始对话ID
|
// 在更新之前,先获取任务对应的原始对话ID
|
||||||
|
|||||||
Reference in New Issue
Block a user