mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-03 03:04:57 -05:00
fix(mcp): child workflow with response block returns error (#3114)
This commit is contained in:
committed by
GitHub
parent
b738550815
commit
c286f3ed24
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user