mirror of https://github.com/hwchase17/langchain
Update rwkv.py import error (#10293)
I have updated the code to ensure consistent error handling for ImportError. Instead of relying on ValueError as before, I've followed the standard practice of raising ImportError while also including detailed error messages. This modification improves code clarity and explicitly indicates that any issues are related to module imports.pull/10332/head
parent
bce38b7163
commit
3cc242b591
Loading…
Reference in New Issue