Remove unused code in build_valid_menu function
This commit is contained in:
parent
732f64bf23
commit
cca09505ee
1 changed files with 3 additions and 2 deletions
|
|
@ -415,8 +415,8 @@ def build_valid_menu(valid_components):
|
|||
|
||||
component_template = build_langchain_template_custom_component(component_extractor)
|
||||
component_template["output_types"] = component_output_types
|
||||
full_path = f"{menu_path}/{component.get('file')}"
|
||||
component_template["full_path"] = full_path
|
||||
# full_path = f"{menu_path}/{component.get('file')}"
|
||||
# component_template["full_path"] = full_path
|
||||
if len(component_output_types) == 1:
|
||||
component_name = component_output_types[0]
|
||||
else:
|
||||
|
|
@ -557,3 +557,4 @@ def create_and_validate_component(code: str) -> CustomComponent:
|
|||
return component
|
||||
return component
|
||||
return component
|
||||
return component
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue