mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-19 20:16:49 +08:00
Feat: Globally defined conversation variables can be selected in the operator's query variables. #10427 (#11135)
### What problem does this PR solve? Feat: Globally defined conversation variables can be selected in the operator's query variables. #10427 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import {
|
||||
DSL,
|
||||
GobalVariableType,
|
||||
GlobalVariableType,
|
||||
IAgentForm,
|
||||
ICategorizeForm,
|
||||
ICategorizeItem,
|
||||
@ -350,7 +350,7 @@ export const buildDslComponentsByGraph = (
|
||||
|
||||
export const buildDslGobalVariables = (
|
||||
dsl: DSL,
|
||||
gobalVariables?: Record<string, GobalVariableType>,
|
||||
gobalVariables?: Record<string, GlobalVariableType>,
|
||||
) => {
|
||||
if (!gobalVariables) {
|
||||
return { globals: dsl.globals, variables: dsl.variables || {} };
|
||||
|
||||
Reference in New Issue
Block a user