mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
d501d233b0
The secondary-LLM prompt was far thinner than the canonical generation guidelines, so it emitted trees that (correctly) failed the renderer's paint gate → surface-missing. Port the canonical generation rules into the prompt, add output validation, add catalog parity (DataTable + info-row), ground the planner with sales-context, and record multi-turn aimock fixtures. Includes CR fixes: two-arg z.record for the DataTable rows schema (zod@4 API), index-based DataTable row key, and Metric trendValue rendering for neutral trend.