mirror of https://github.com/hwchase17/langchain
add getattr case for llms.type_to_cls_dict (#11362)
For external libraries that depend on `type_to_cls_dict`, adds a workaround to continue using the old format. Recommend people use `get_type_to_cls_dict()` instead and only resolve the imports when they're used.pull/11360/head^2
parent
f3e13e7e5a
commit
745e3e29da
Loading…
Reference in New Issue