diff --git a/frontend/src/components/workspace/messages/message-list.tsx b/frontend/src/components/workspace/messages/message-list.tsx index 6059325..8d5e0f6 100644 --- a/frontend/src/components/workspace/messages/message-list.tsx +++ b/frontend/src/components/workspace/messages/message-list.tsx @@ -168,9 +168,9 @@ export function MessageList({ {t.subtasks.executing(tasks.size)} , ); - const taskIds = message.tool_calls?.map( - (toolCall) => toolCall.id, - ); + const taskIds = message.tool_calls + ?.filter((toolCall) => toolCall.name === "task") + .map((toolCall) => toolCall.id); for (const taskId of taskIds ?? []) { results.push(