Commit Graph

2 Commits

Author SHA1 Message Date
Atai Barkai 0dd826e8af fix(a2ui-hello-world): use A2UI_OPERATIONS_KEY constant across Python SDK and renderer
Restores a2ui.render() usage in search_flights. The constant
"a2ui_operations" is now defined in all three layers: Python SDK,
ag-ui middleware, and A2UIMessageRenderer.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 21:24:24 -07:00
Atai Barkai 4e0d857146 feat(a2ui-hello-world): add copilotkit.a2ui Python SDK module and a2ui_operations container
- copilotkit/a2ui.py: load_schema(), surface_update(), data_model_update(),
  begin_rendering(), render() — canonical SDK for building A2UI operations
- A2UIMessageRenderer reads a2ui_operations (with operations fallback)
- local-install script now includes editable pip install of Python SDK
- search_flights uses `from copilotkit import a2ui` pattern

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-13 19:54:43 -07:00