npm / @copilotkit/a2ui-renderer
@copilotkit/a2ui-renderer
What changed in @copilotkit/a2ui-renderer 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.
3 breaking1 security2 behavior and defaults7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@copilotkit/a2ui-renderer 113 changes
Breaking changes 3
The headers builder runs when each request is sent instead of on each provider render. Apps switching users must remount the provider or call setHeaders to avoid showing the previous user's threads.
The environment variable now selects the OpenAI API; set it to responses to keep using the Responses API with proxies when openai model strings otherwise switch to Chat Completions.
A learning object without trajectoryId now starts capture after mount; set autoStart to false to continue starting capture yourself with startTrajectory().
Security 1
Clicked controls are named with a privacy-safe label.
Behavior and default changes 2
The adapter now defaults to the gemini-3.5-flash model.
Slash model ids stay intact, and openai model strings use Chat Completions when OPENAI_BASE_URL points to a host other than OpenAI or Azure.
Fixes and other changes 7
Types RendererProps.children as (id, basePath?), so the declared callback signature matches its parameters.
App context is folded into the leading system message.
Failed capture sockets are retired.
CopilotChat remains visible beside the threads drawer in a flex row.
Text edits are debounced.
Features remain enabled when the entitlement lookup times out.
A lookup for a thread that has not yet been created is logged at debug level instead of error level.