mirror of https://github.com/hwchase17/langchain
Fixed Import Error type in base.py (#10209)
I have revamped the code to ensure uniform error handling for ImportError. Instead of the previous reliance on ValueError, I have adopted the conventional practice of raising ImportError and providing informative error messages. This change enhances code clarity and clearly signifies that any problems are associated with module imports.pull/10560/head
parent
a43abf24e4
commit
201b61d5b3
Loading…
Reference in New Issue