fix(web): llm/document-extractor support file type variable

This commit is contained in:
zhaoying
2026-04-07 12:05:20 +08:00
parent 3ece83d419
commit 2e7ebf174b
3 changed files with 27 additions and 10 deletions

View File

@@ -128,7 +128,7 @@ export const nodeLibrary: NodeLibrary[] = [
},
vision_input: {
type: 'variableList',
onFilterVariableNames: ['sys.files']
onFilterVariableType: ['array[file]']
}
}
},
@@ -457,7 +457,7 @@ export const nodeLibrary: NodeLibrary[] = [
file_selector: {
type: 'variableList',
placeholder: 'common.pleaseSelect',
onFilterVariableNames: ['sys.files']
onFilterVariableType: ['array[file]', 'file']
}
}
},