showcase/integrations/crewai-conversational-flows/qa/declarative-json-render.md
/demos/declarative-json-renderagent_server.py running and healthy; it mounts the crew at
/conversational_flows/byoc-json-render/api/copilotkit-declarative-json-render —
the page mounts that URL, but only
src/app/api/copilotkit-byoc-json-render/route.ts exists today, so the
demo 404s on its runtime URL until that is reconciled (see Integration
notes)OPENAI_API_KEY set for the agent backend@json-render/core + @json-render/react present in package.json
(pinned to 0.18.0)/demos/declarative-json-render.data-testid="json-render-root" wrapper appears in the assistant bubble.data-testid="metric-card" renders inside the wrapper.data-testid="bar-chart" or data-testid="pie-chart") renders inside the wrapper.data-testid="pie-chart" renders with multiple category slices + legend.useVisibility must be used within a VisibilityProvider console error (<JSONUIProvider> must wrap <Renderer>).data-testid="bar-chart" renders with month labels.metric-card renders; no console errors.{ root, elements } spec is more verbose than hashbrown's token stream.src/agents/byoc_json_render_agent.py; the
byoc_ prefix on the backend module is deliberate and stays.runtimeUrl="/api/copilotkit-declarative-json-render", but this package
only ships src/app/api/copilotkit-byoc-json-render/route.ts. Until the
API route is renamed (or an alias added), every step below fails at the
network layer. File that as its own fix, not as a QA finding.byoc-json-render-root test id and no /demos/byoc-json-render
route — assert data-testid="json-render-root" on the canonical route only.