mirror of
https://github.com/langgenius/dify.git
synced 2026-01-07 23:04:12 +00:00
chore: change output
This commit is contained in:
@@ -163,6 +163,11 @@ const Panel: FC<NodePanelProps<HttpNodeType>> = ({
|
||||
type='object'
|
||||
description={t(`${i18nPrefix}.outputVars.headers`)}
|
||||
/>
|
||||
<VarItem
|
||||
name='files'
|
||||
type='Array[File]'
|
||||
description={t(`${i18nPrefix}.outputVars.files`)}
|
||||
/>
|
||||
</>
|
||||
</OutputVars>
|
||||
</div>
|
||||
|
||||
@@ -80,7 +80,7 @@ const Panel: FC<NodePanelProps<StartNodeType>> = ({
|
||||
/> */}
|
||||
<VarItem
|
||||
name='sys.files'
|
||||
type='string'
|
||||
type='Array[File]'
|
||||
description={t(`${i18nPrefix}.outputVars.files`)}
|
||||
/>
|
||||
</>
|
||||
|
||||
@@ -128,28 +128,6 @@ const Panel: FC<NodePanelProps<ToolNodeType>> = ({
|
||||
name='files'
|
||||
type='Array[File]'
|
||||
description={t(`${i18nPrefix}.outputVars.files.title`)}
|
||||
subItems={[
|
||||
{
|
||||
name: 'type',
|
||||
type: 'string',
|
||||
description: t(`${i18nPrefix}.outputVars.files.type`),
|
||||
},
|
||||
{
|
||||
name: 'transfer_method',
|
||||
type: 'string',
|
||||
description: t(`${i18nPrefix}.outputVars.files.transfer_method`),
|
||||
},
|
||||
{
|
||||
name: 'url',
|
||||
type: 'string',
|
||||
description: t(`${i18nPrefix}.outputVars.files.url`),
|
||||
},
|
||||
{
|
||||
name: 'upload_file_id',
|
||||
type: 'string',
|
||||
description: t(`${i18nPrefix}.outputVars.files.upload_file_id`),
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</>
|
||||
</OutputVars>
|
||||
|
||||
@@ -197,6 +197,7 @@ const translation = {
|
||||
body: 'Response Content',
|
||||
statusCode: 'Response Status Code',
|
||||
headers: 'Response Header List JSON',
|
||||
files: 'Files List',
|
||||
},
|
||||
authorization: {
|
||||
'authorization': 'Authorization',
|
||||
|
||||
@@ -197,6 +197,7 @@ const translation = {
|
||||
body: '响应内容',
|
||||
statusCode: '响应状态码',
|
||||
headers: '响应头列表 JSON',
|
||||
files: '文件列表',
|
||||
},
|
||||
authorization: {
|
||||
'authorization': '鉴权',
|
||||
|
||||
Reference in New Issue
Block a user