chore: Add trace_type attribute to FlowToolComponent
This commit is contained in:
parent
e124ac1a75
commit
e1a0de8133
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ class FlowToolComponent(CustomComponent):
|
|||
display_name = "Flow as Tool"
|
||||
description = "Construct a Tool from a function that runs the loaded Flow."
|
||||
field_order = ["flow_name", "name", "description", "return_direct"]
|
||||
trace_type = "tool"
|
||||
|
||||
def get_flow_names(self) -> List[str]:
|
||||
flow_datas = self.list_flows()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue