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:
balibabu
2025-11-10 15:09:33 +08:00
committed by GitHub
parent 2b9145948f
commit 0879b6af2c
15 changed files with 101 additions and 58 deletions

View File

@ -3,7 +3,7 @@ import {
useResetAgent,
useSetAgent,
} from '@/hooks/use-agent-request';
import { GobalVariableType } from '@/interfaces/database/agent';
import { GlobalVariableType } from '@/interfaces/database/agent';
import { RAGFlowNodeType } from '@/interfaces/database/flow';
import { formatDate } from '@/utils/date';
import { useDebounceEffect } from 'ahooks';
@ -21,7 +21,7 @@ export const useSaveGraph = (showMessage: boolean = true) => {
const saveGraph = useCallback(
async (
currentNodes?: RAGFlowNodeType[],
otherParam?: { gobalVariables: Record<string, GobalVariableType> },
otherParam?: { gobalVariables: Record<string, GlobalVariableType> },
) => {
return setAgent({
id,