Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Import Error type in base.py (langchain-ai#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.
- Loading branch information