mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
95240cba4a
Review caught a real bug: the endpoint only applies `a2ui_config` while wrapping a RAW agent. The recovery factory returned an already-wrapped `AgentFrameworkAgent`, so its `a2ui_config` was dropped and recovery silently ran on toolkit defaults instead of the configured `maxAttempts: 3`. - recovery_agent.py: `create_agent` now returns a raw `Agent`; the /a2ui_recovery endpoint wraps it and applies `A2UI_RECOVERY_CONFIG` (verified: the wrapper carries the config). D6 green with the config actually applied. - Refresh the remaining old-path descriptions to the auto-inject + a2ui_config wording: manifest.yaml, the demo page.tsx header, the e2e spec contract, and the fixture _note.