Feature: Added global variable functionality #10703 (#11117)

### What problem does this PR solve?

Feature: Added global variable functionality

### Type of change

- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
chanx
2025-11-10 10:16:12 +08:00
committed by GitHub
parent b6cd282ccd
commit 7423a5806e
10 changed files with 402 additions and 4 deletions

View File

@ -45,6 +45,7 @@ export interface DSL {
messages?: Message[];
reference?: IReference[];
globals: Record<string, any>;
variables: Record<string, GobalVariableType>;
retrieval: IReference[];
}
@ -283,3 +284,10 @@ export interface IPipeLineListRequest {
desc?: boolean;
canvas_category?: AgentCategory;
}
export interface GobalVariableType {
name: string;
value: any;
description: string;
type: string;
}