-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cz/imp-perf' of github.com:langflow-ai/langflow into cz…
…/imp-perf
- Loading branch information
Showing
29 changed files
with
444 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,40 @@ | ||
from langflow.schema.table import EditMode | ||
|
||
TOOL_OUTPUT_NAME = "component_as_tool" | ||
TOOL_OUTPUT_DISPLAY_NAME = "Toolset" | ||
TOOLS_METADATA_INPUT_NAME = "tools_metadata" | ||
TOOL_TABLE_SCHEMA = [ | ||
{ | ||
"name": "name", | ||
"display_name": "Name", | ||
"display_name": "Tool Name", | ||
"type": "str", | ||
"description": "Specify the name of the output field.", | ||
"description": "Specify the name of the tool.", | ||
"sortable": False, | ||
"filterable": False, | ||
"edit_mode": EditMode.INLINE, | ||
}, | ||
{ | ||
"name": "description", | ||
"display_name": "Description", | ||
"display_name": "Tool Description", | ||
"type": "str", | ||
"description": "Describe the purpose of the output field.", | ||
"description": "Describe the purpose of the tool.", | ||
"sortable": False, | ||
"filterable": False, | ||
"edit_mode": EditMode.INLINE, | ||
}, | ||
{ | ||
"name": "tags", | ||
"display_name": "Tool Identifiers", | ||
"type": "str", | ||
"description": ( | ||
"These are the default identifiers for the tools and cannot be changed. " | ||
"Tool Name and Tool Description are the only editable fields." | ||
), | ||
"disable_edit": True, | ||
"sortable": False, | ||
"filterable": False, | ||
"edit_mode": EditMode.INLINE, | ||
}, | ||
] | ||
|
||
TOOLS_METADATA_INFO = "Use the table to configure the tools." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.