Skip to content

Commit 9653cdb

Browse files
committed
fix(examples/integrations): bump ag-ui-langgraph to 0.0.37 for copilotkit 0.1.93
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 /.
1 parent 25811cf commit 9653cdb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/integrations/langgraph-fastapi/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ WORKDIR /app
4545
# Instead serve via ag-ui-langgraph + copilotkit (same protocol, no Docker needed)
4646
COPY agent/ ./agent/
4747
# Install ag-ui-langgraph FIRST at pinned version (before copilotkit can override it)
48-
RUN uv pip install --system "ag-ui-langgraph[fastapi]==0.0.22" && \
48+
RUN uv pip install --system "ag-ui-langgraph[fastapi]==0.0.37" && \
4949
uv pip install --system --no-deps "copilotkit==0.1.93" && \
5050
uv pip install --system "partialjson>=0.0.8,<0.0.9" "toml>=0.10.2,<0.11.0" && \
5151
uv pip install --system \

examples/integrations/langgraph-python/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ WORKDIR /app
4545
# Instead serve via ag-ui-langgraph + copilotkit (same protocol, no Docker needed)
4646
COPY agent/ ./agent/
4747
# Install ag-ui-langgraph FIRST at pinned version (before copilotkit can override it)
48-
RUN uv pip install --system "ag-ui-langgraph[fastapi]==0.0.22" && \
48+
RUN uv pip install --system "ag-ui-langgraph[fastapi]==0.0.37" && \
4949
uv pip install --system --no-deps "copilotkit==0.1.93" && \
5050
uv pip install --system "partialjson>=0.0.8,<0.0.9" "toml>=0.10.2,<0.11.0" && \
5151
uv pip install --system \

0 commit comments

Comments
 (0)