Skip to content

fix: resolve langgraph version conflict and sync start.sh with README - #1

Open
llmlearning-x wants to merge 1 commit into
hirogoing:mainfrom
llmlearning-x:fix-upstream-bugs
Open

fix: resolve langgraph version conflict and sync start.sh with README#1
llmlearning-x wants to merge 1 commit into
hirogoing:mainfrom
llmlearning-x:fix-upstream-bugs

Conversation

@llmlearning-x

Copy link
Copy Markdown

修复上游代码中的几个问题:

  1. langgraph 版本不兼容langgraph-prebuilt>=1.0.9 需要 langgraph>=1.1.0,但原 requirements 限制 <1.1.0,导致运行时 ImportError: cannot import name 'ExecutionInfo' from 'langgraph.runtime'
  2. 缺少 python-multipart:FastAPI 文件上传路由依赖此包
  3. start.sh 与 README 不一致:README 说明环境名为 agentImage,但脚本里写的是 polystudio
  4. start.sh 缺少可执行权限:README 已建议 chmod +x start.sh

已在本地验证 uvicorn app.main:app 可正常启动。

- Upgrade langgraph>=1.1.0,<1.2.0 and langgraph-prebuilt>=1.0.11,<1.1.0
  to fix ImportError: cannot import name 'ExecutionInfo' from langgraph.runtime
- Add missing python-multipart dependency (required by FastAPI file upload)
- Fix start.sh conda env name: polystudio -> agentImage to match README.md
- Make start.sh executable (chmod +x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant