mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
dd06dd89d1
The showcase framework directories better reflect their role as integration examples rather than distributable packages. Renames showcase/packages/ -> showcase/integrations/ and updates the test docker-compose file reference accordingly.
811 B
811 B
QA: Declarative Generative UI — Spring AI
Prerequisites
- Spring AI backend is up with the
generate_a2uitool registered - OPENAI_API_KEY is set (the dynamic-A2UI tool makes a secondary LLM call)
Test Steps
- Navigate to
/demos/declarative-gen-ui - Click the "Show a KPI dashboard" suggestion
- Verify a dashboard with 3-4 metric cards renders inline
- Click the "What's the weather like?" suggestion (or similar)
- Verify the agent generates a branded UI card using the catalog components
Expected Results
a2ui.injectA2UITool: falsekeeps the tool owned by the Spring backend- Catalog schema is serialized into
copilotkit.contextso the Spring tool's LLM knows available components - Rendered components match the catalog definitions in
./a2ui/renderers.tsx