feat: add handling for task timeout and enhance Streamdown plugin for word animation

This commit is contained in:
Henry Li
2026-02-07 18:06:22 +08:00
parent dce82c1db4
commit 99e8f22d1d
3 changed files with 26 additions and 2 deletions
@@ -124,6 +124,12 @@ export function MessageList({
status: "failed",
error: result.split("Task failed.")[1]?.trim(),
});
} else if (result.startsWith("Task timed out")) {
updateSubtask({
id: taskId,
status: "failed",
error: result,
});
} else {
updateSubtask({
id: taskId,