feat: get node variables in prompt editor (#2087)

* feat: get node variables in prompt editor

* fix

* fix build

* merge

* fix build

* delete default parent

* fix

* fix
This commit is contained in:
heheer
2024-07-23 11:20:23 +08:00
committed by GitHub
parent f24e41f5ec
commit a4787bce5c
23 changed files with 897 additions and 61 deletions

View File

@@ -1,31 +1,32 @@
{
"add_new_input": "Add input",
"Code": "Code",
"confirm_delete_field_tip": "Confirm to delete the field?",
"custom_input": "Custom input",
"edit_input": "Edit input",
"field_name_already_exists": "Field name already exists",
"field_description": "Field description",
"field_description_placeholder": "Describes the functionality of this input field, which affects the quality of model generation if the parameter is called for a tool",
"field_required": "Required",
"field_used_as_tool_input": "As tool input",
"input_description": "Input descriotion",
"only_the_reference_type_is_supported": "Only the Reference type is supported",
"optional_value_type": "Optional value type",
"optional_value_type_tip": "One or more data types can be specified, and users can only select the configured type when adding fields in winter",
"tool_input": "Tool",
"add_new_input": "Add input",
"code": {
"Reset template": "Reset template",
"Reset template confirm": "Are you sure to restore the code template? All input and output to template values will be reset, please be careful to save the current code."
},
"confirm_delete_field_tip": "Confirm to delete the field?",
"custom_input": "Custom input",
"edit_input": "Edit input",
"field_description": "Field description",
"field_description_placeholder": "Describes the functionality of this input field, which affects the quality of model generation if the parameter is called for a tool",
"field_name_already_exists": "Field name already exists",
"field_required": "Required",
"field_used_as_tool_input": "As tool input",
"ifelse": {
"Input value": "Input",
"Select value": "Select"
},
"input_description": "Input descriotion",
"only_the_reference_type_is_supported": "Only the Reference type is supported",
"optional_value_type": "Optional value type",
"optional_value_type_tip": "One or more data types can be specified, and users can only select the configured type when adding fields in winter",
"response": {
"Code log": "Log",
"Custom inputs": "Custom inputs",
"Custom outputs": "Custom outputs",
"Error": "Error"
}
}
},
"tool_input": "Tool",
"variable_picker_tips": "tips: enter node name or variable name to search"
}