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 package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"fs-extra": "^11.1.1",
"hnswlib-node": "1.4.2",
"html-to-text": "^9.0.5",
"langchain": "^0.0.163",
"langchain": "^0.1.29",

Choose a reason for hiding this comment

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

P0 Badge Migrate code to new langchain packages before upgrading

Bumping langchain straight to ^0.1.29 is a breaking change because 0.1.x split most exports into the new @langchain/* and langchain-community packages. The codebase still imports symbols from paths like langchain/llms/openai and langchain/vectorstores/hnswlib in src/index.ts, src/lib/contextManager.ts, and others, which no longer exist in 0.1.x. Attempting to build or run after this upgrade will fail with module-resolution errors unless the imports (and additional dependencies) are migrated. The dependency update should be paired with the required code changes or postponed.

Useful? React with 👍 / 👎.

"mammoth": "^1.6.0",
"ora": "^7.0.1",
"pdf-parse": "^1.1.1",
Expand Down