mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
caa735b2be
Bring the just-released A2UI support and latest Microsoft Agent Framework (Python) into the showcase, following the langgraph-python A2UI pattern. - Bump agent-framework-ag-ui[a2ui]/openai/core to 1.2.0/1.14.0/1.15.0. 1.2.0 is A2UI's first release; the [a2ui] extra pulls ag-ui-a2ui-toolkit. - Add the a2ui-recovery demo, mirroring langgraph-python's recovery demo: backend-owned A2UI via the adapter's native enable_a2ui (injectA2UITool=false), which runs the shared toolkit validate/retry recovery loop in-process. The heal pill recovers a malformed first render into a valid surface; the exhaust pill hits the attempt cap and surfaces the a2ui_recovery_exhausted fallback. Reuses the declarative-gen-ui catalog. Adds the agent, route, page, chat, suggestions, a D6 aimock fixture (framework-unique prompts), and an e2e spec. - Enrich the MAF A2UI docs page with how-to content covering the three A2UI flavors (dynamic, fixed, recovery) and connect the three A2UI demos through docs-links. Validation: validate-pins clean (count/hash unchanged), validate-parity PASS, generate-registry clean. The recovery loop is verified at the AG-UI protocol layer against aimock on the published 1.2.0 wheel (heal streams a2ui_operations after an invalid-then-valid render; exhaust returns a2ui_recovery_exhausted after 3 attempts; RUN_FINISHED, no RUN_ERROR).
15 lines
477 B
Plaintext
15 lines
477 B
Plaintext
# The `[a2ui]` extra pulls `ag-ui-a2ui-toolkit` (imported lazily by the
|
|
# adapter), which powers the backend-owned A2UI recovery loop used by the
|
|
# a2ui-recovery demo (src/agents/recovery_agent.py). A2UI first shipped in
|
|
# agent-framework-ag-ui 1.2.0.
|
|
agent-framework-ag-ui[a2ui]==1.2.0
|
|
agent-framework-openai==1.14.0
|
|
agent-framework-core==1.15.0
|
|
ag-ui-a2ui-toolkit==0.0.4
|
|
httpx>=0.28.0
|
|
python-dotenv==1.0.1
|
|
uvicorn==0.37.0
|
|
fastapi>=0.115.0
|
|
starlette<1.0.0
|
|
pypdf>=4.0.0,<7.0.0
|