Anyone have issues with LangChain due to the package size?

Kept running into limit errors when deploying due to LangChain being around 2.3MB in size and the free version only supporting a size up to 1MB. I could upgrade but I'm wondering if others found another solution. Thanks
1 Reply
Cole
ColeOP2y ago
Fixed this by dynamically importing the library using the import() syntax. It'll import when using it vs at startup.
Want results from more Discord servers?
Add your server