feat(editor): Add pre-built agents experiment (#18124)

This commit is contained in:
Jaakko Husso
2025-08-09 10:28:14 +03:00
committed by GitHub
parent a3b625fc18
commit 5a69d2a2f3
44 changed files with 2635 additions and 653 deletions

View File

@@ -1344,12 +1344,25 @@ export type NodePropertyAction = {
target?: string;
};
export type CalloutActionType = 'openRagStarterTemplate';
export interface CalloutAction {
type: CalloutActionType;
export interface CalloutActionBase {
type: string;
label: string;
icon?: string;
}
export interface CalloutActionOpenPreBuiltAgentsCollection extends CalloutActionBase {
type: 'openPreBuiltAgentsCollection';
}
export interface CalloutActionOpenSampleWorkflowTemplate extends CalloutActionBase {
type: 'openSampleWorkflowTemplate';
templateId: string;
}
export type CalloutAction =
| CalloutActionOpenPreBuiltAgentsCollection
| CalloutActionOpenSampleWorkflowTemplate;
export interface INodePropertyTypeOptions {
// Supported by: button
buttonConfig?: {