showcase/integrations/langgraph-python/qa/gen-ui-tool-based.md
The demo registers two useComponent renderers (render_bar_chart,
render_pie_chart) on a centered <CopilotChat>. The agent emits
chart-shaped tool calls and the frontend materializes them as Recharts
SVG inside the assistant message bubble.
/demos/gen-ui-tool-based/api/health)/demos/gen-ui-tool-basedtextarea with placeholder
matching /message/i)data-testid="copilot-suggestion"):
[data-testid="copilot-assistant-message"]) renders, and its inner
Recharts SVG is visible[data-testid="copilot-assistant-message"] bubble