Skip to content

Commit adf9981

Browse files
authored
fix: http inputs (#5864)
* fix: timeselector ui error * var update node * fix: http
1 parent 3a030e8 commit adf9981

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

packages/global/core/workflow/template/system/http468.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export const HttpNode468: FlowNodeTemplateType = {
3636
selectValueTypeList: Object.values(WorkflowIOValueTypeEnum),
3737
showDescription: false,
3838
showDefaultValue: true
39-
},
40-
deprecated: true
39+
}
40+
// deprecated: true
4141
},
4242
{
4343
key: NodeInputKeyEnum.httpMethod,

packages/web/i18n/en/workflow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"context_menu.add_comment": "Add comment",
4242
"create_link_error": "Error creating link",
4343
"custom_feedback": "Custom Feedback",
44-
"custom_input": "Custom Input",
44+
"custom_input": "Custom variables",
4545
"dataset_quote_role": "Role",
4646
"dataset_quote_role_system_option_desc": "Historical records should be consistent first (recommended)",
4747
"dataset_quote_role_tip": "When set to System, the knowledge base reference content will be placed in the system message, which can ensure the continuity of the history record, but the constraint effect may not be good.\n\nWhen set to User, the knowledge base reference content will be placed in the user message, and the {{question}} variable location needs to be specified. \nIt will have a certain impact on the consistency of historical records, but usually the constraint effect is better.",

packages/web/i18n/zh-CN/workflow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"context_menu.add_comment": "添加注释",
4242
"create_link_error": "创建链接异常",
4343
"custom_feedback": "自定义反馈",
44-
"custom_input": "自定义输入",
44+
"custom_input": "自定义变量",
4545
"dataset_quote_role": "角色",
4646
"dataset_quote_role_system_option_desc": "历史记录连贯优先(推荐)",
4747
"dataset_quote_role_tip": "设置为 System 时,将会把知识库引用内容放置到 system 消息中,可以确保历史记录的连贯性,但约束效果可能不佳,需要多调试。\n设置为 User 时,将会把知识库引用内容放置到 user 消息中,并且需要指定 {{question}} 变量位置。会对历史记录连贯性有一定影响,但通常约束效果更优。",

packages/web/i18n/zh-Hant/workflow.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"context_menu.add_comment": "新增註解",
4242
"create_link_error": "建立連結發生錯誤",
4343
"custom_feedback": "自訂回饋",
44-
"custom_input": "自訂輸入",
44+
"custom_input": "自定義變量",
4545
"dataset_quote_role": "角色",
4646
"dataset_quote_role_system_option_desc": "歷史紀錄連貫優先(建議)",
4747
"dataset_quote_role_tip": "設定為 System 時,會將知識庫引用內容放置到系統訊息中,可以確保歷史紀錄的連貫性,但約束效果可能不佳。\n設定為 User 時,會將知識庫引用內容放置到使用者訊息中,並且需要指定 {{question}} 變數位置。會對歷史紀錄連貫性有一定影響,但通常約束效果較佳。",

projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/NodeHttp/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -851,6 +851,7 @@ const NodeHttp = ({ data, selected }: NodeProps<FlowNodeItemType>) => {
851851
};
852852
}, [Headers, HttpMethodAndUrl, HttpTimeout]);
853853

854+
// console.log(inputs);
854855
return (
855856
<NodeCard minW={'350px'} selected={selected} {...data}>
856857
{isTool && (

0 commit comments

Comments
 (0)