mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-26 17:16:52 +08:00
Feat: The value of data operations operators can be either input or referenced from variables. #10427 (#11037)
### What problem does this PR solve? Feat: The value of data operations operators can be either input or referenced from variables. #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -38,8 +38,10 @@ export function QueryVariable({
|
||||
? nextOptions.map((x) => {
|
||||
return {
|
||||
...x,
|
||||
options: x.options.filter((y) =>
|
||||
types?.some((x) => toLower(y.type).includes(x)),
|
||||
options: x.options.filter(
|
||||
(y) =>
|
||||
types?.some((x) => toLower(y.type).includes(x)) ||
|
||||
y.type === undefined, // agent structured output
|
||||
),
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user