mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
8447253647
When an MCP app tool call came back with `isError: true`, the activity renderer forwarded the result to the app and rendered nothing host-side. Apps with no data to draw paint nothing, so the user got a tall empty box while the chat chip still read "Done" — measured on the mcp-apps demo, where mcp.excalidraw.com rejects a malformed `elements` argument on roughly one call in five. The failure message from the tool result is now rendered above the app frame (`role="alert"`) and logged, and the container grows to fit both instead of being pinned to the app's reported height.