Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ html5lib = "^1.1"
ipython = "^9.0.0"
isodate = "^0.7.2"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Upgrading langchain to ^1.0.0 conflicts with langchain-experimental ^0.3.4, which requires an older langchain-community version. This will cause dependency resolution to fail.
Severity: CRITICAL

Suggested Fix

To resolve the dependency conflict, update langchain-experimental in pyproject.toml to a version compatible with langchain ^1.0.0, likely ^0.4.x or higher. After updating, run poetry lock and poetry install to verify the dependencies can be resolved successfully.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: pyproject.toml#L58

Potential issue: The update to `langchain="^1.0.0"` in `pyproject.toml` introduces a
dependency conflict. The project also depends on `langchain-experimental="^0.3.4"`,
which has a strict requirement for `langchain-community` to be a version less than
`0.4.0`. However, `langchain 1.0.0` requires a newer, incompatible version of
`langchain-community`. This conflict will prevent the project's dependencies from being
installed, causing the build or deployment process to fail immediately.

jedi = "^0.19.0"
langchain = "^0.3.11"
langchain = "^1.0.0"
langchain-experimental = "^0.3.4"
langchain-openai = "^0.3.2"
litellm = "1.79.3"
Expand Down
Loading