Hacker News new | ask | show | jobs
by chandan_maruthi 1022 days ago
How do you handle dependencies like libraries?
1 comments

We use LangChain to crawl documentation and code examples for relevant frameworks and libraries, to make sure that the AI generated PR is up-to-date. We also have a custom dependency resolver that detects which new dependencies need to be added, as well as updating the package.json files with the correct version numbers
"custom dependency resolver" I am intrigued, Ill check it out.
In general, as our AI agents produce code files, we collect dependencies, and then at the end, use npm to determine the correct version numbers without actually installing on disk