🐛 fix(base.py): fix issue where CustomComponentCreator.to_list() method always returns None
This commit is contained in:
parent
dc80513691
commit
2f24fca1f2
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ class CustomComponentCreator(LangChainTypeCreator):
|
|||
except AttributeError as exc:
|
||||
logger.error(f"CustomComponent {name} not loaded: {exc}")
|
||||
return None
|
||||
return None
|
||||
|
||||
def to_list(self) -> List[str]:
|
||||
return list(self.type_to_loader_dict.keys())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue