feat(web): llm node config add vision,vision_input

This commit is contained in:
zhaoying
2026-02-05 14:25:16 +08:00
parent be01f1869e
commit 5475496399
5 changed files with 39 additions and 8 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 15:06:18
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-02-03 15:25:25
* @Last Modified time: 2026-02-05 14:15:13
*/
import LoopNode from './components/Nodes/LoopNode';
import NormalNode from './components/Nodes/NormalNode';
@@ -91,6 +91,11 @@ export const nodeLibrary: NodeLibrary[] = [
type: "string",
readonly: true
},
{
name: "files",
type: "array[file]",
readonly: true
},
],
defaultValue: []
}
@@ -155,6 +160,13 @@ export const nodeLibrary: NodeLibrary[] = [
enable_window: false,
window_size: 20
}
},
vision: {
type: 'switch'
},
vision_input: {
type: 'variableList',
onFilterVariableNames: ['sys.files']
}
}
},