fix(mcp): child workflow with response block returns error (#3114)

This commit is contained in:
Vikhyath Mondreti
2026-02-02 09:30:35 -08:00
committed by GitHub
parent b738550815
commit c286f3ed24

View File

@@ -284,7 +284,7 @@ async function handleToolsCall(
content: [
{ type: 'text', text: JSON.stringify(executeResult.output || executeResult, null, 2) },
],
isError: !executeResult.success,
isError: executeResult.success === false,
}
return NextResponse.json(createResponse(id, result))