input rag variable

This commit is contained in:
zxhlyh
2025-06-03 16:07:58 +08:00
parent b9c6496fea
commit 163bae3aaf
5 changed files with 74 additions and 11 deletions

View File

@ -42,7 +42,7 @@ const nodeDefault: NodeDefault<DataSourceNodeType> = {
errorMessage: '',
}
},
getOutputVars(payload) {
getOutputVars(payload, ragVars = []) {
const {
provider_type,
} = payload
@ -62,6 +62,7 @@ const nodeDefault: NodeDefault<DataSourceNodeType> = {
]
: []
),
...ragVars,
]
},
}