feat(web): workflow runtime add error info

This commit is contained in:
zhaoying
2026-03-02 18:14:36 +08:00
parent 37ddcb91ac
commit 6cebddf893
3 changed files with 17 additions and 9 deletions

View File

@@ -320,7 +320,8 @@ const Chat = forwardRef<ChatRef, { appId: string; graphRef: GraphRef }>(({ appId
newList[lastIndex] = {
...newList[lastIndex],
status,
content: newList[lastIndex].content === '' ? null : newList[lastIndex].content
error,
content: newList[lastIndex].content === '' ? null : newList[lastIndex].content,
}
}
return newList