From dfc0dd5834d86cbd876d608fc7f504945f6890b1 Mon Sep 17 00:00:00 2001 From: sd0ric4 <1286518974@qq.com> Date: Wed, 26 Mar 2025 15:56:03 +0800 Subject: [PATCH] feat: remove realmode --- packages/global/core/workflow/runtime/type.d.ts | 1 - packages/service/core/workflow/dispatch/index.ts | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/global/core/workflow/runtime/type.d.ts b/packages/global/core/workflow/runtime/type.d.ts index 0de271276..f5db3a89c 100644 --- a/packages/global/core/workflow/runtime/type.d.ts +++ b/packages/global/core/workflow/runtime/type.d.ts @@ -65,7 +65,6 @@ export type ModuleDispatchProps = ChatDispatchProps & { runtimeNodes: RuntimeNodeItemType[]; runtimeEdges: RuntimeEdgeItemType[]; params: T; - realmode: 'chat' | 'debug' | 'test'; }; export type SystemVariablesType = { diff --git a/packages/service/core/workflow/dispatch/index.ts b/packages/service/core/workflow/dispatch/index.ts index ff3f9d4f4..24b279f5c 100644 --- a/packages/service/core/workflow/dispatch/index.ts +++ b/packages/service/core/workflow/dispatch/index.ts @@ -581,8 +581,7 @@ export async function dispatchWorkFlow(data: Props): Promise