mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
319d0ec78a
- runtime.ts: pass the bridge's forwarded client tools (convertInputToTanStackAI's tools) into chat() alongside web_search + MCP, so generative-UI cards and the confirm_write HITL gate work; drop the prompt line that made the model narrate charts with a trailing "Charting …" sentence (it landed after the image). - render-chart / render-diagram: post the caption as a header BEFORE the image (a file upload's message lands a beat after postFile resolves, so caption-first keeps a stable caption → image order) and drop the false "rendered above" wording. Depends on the @copilotkit/runtime factory tool-lifecycle fix (#5572) and the bot-slack HITL/render-order fix (#5573).