mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 09:58:04 +08:00
input rag variable
This commit is contained in:
@ -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,
|
||||
]
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user