mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
9653cdb4f0
copilotkit 0.1.93 re-exports StateStreamingMiddleware/StateItem FROM ag_ui_langgraph.middlewares.state_streaming, which only exists in ag-ui-langgraph>=0.0.35. The Dockerfiles installed copilotkit with --no-deps and pinned ag-ui-langgraph[fastapi]==0.0.22, so the middlewares submodule was missing and the agent crash-looped at boot with 'ModuleNotFoundError: No module named ag_ui_langgraph.middlewares'. Bump the pin to 0.0.37 (the version copilotkit 0.1.93 resolves with deps). Verified by booting the langgraph-python image: the agent now reaches 'Application startup complete' / 'Uvicorn running on 0.0.0.0:8123' with no ImportError, and the container serves HTTP 200 on /.
2.6 KiB
2.6 KiB