🐛 fix(endpoints.py): fix comparison of path variable to string in get_all() function to prevent duplicate processing of paths
This commit is contained in:
parent
46fa1921e9
commit
e63d6aa943
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ def get_all():
|
|||
custom_component_dicts = []
|
||||
processed_paths = []
|
||||
for path in settings.COMPONENTS_PATH:
|
||||
if path in processed_paths:
|
||||
if str(path) in processed_paths:
|
||||
continue
|
||||
custom_component_dict = build_langchain_custom_component_list_from_path(
|
||||
str(path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue