feat: remove realmode

This commit is contained in:
sd0ric4
2025-03-26 15:56:03 +08:00
parent be1e10cb71
commit dfc0dd5834
2 changed files with 1 additions and 3 deletions

View File

@@ -65,7 +65,6 @@ export type ModuleDispatchProps<T> = ChatDispatchProps & {
runtimeNodes: RuntimeNodeItemType[]; runtimeNodes: RuntimeNodeItemType[];
runtimeEdges: RuntimeEdgeItemType[]; runtimeEdges: RuntimeEdgeItemType[];
params: T; params: T;
realmode: 'chat' | 'debug' | 'test';
}; };
export type SystemVariablesType = { export type SystemVariablesType = {

View File

@@ -581,8 +581,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
runtimeNodes, runtimeNodes,
runtimeEdges, runtimeEdges,
params, params,
mode: props.mode === 'debug' ? 'test' : props.mode, mode: props.mode === 'debug' ? 'test' : props.mode
realmode: props.mode
}; };
// run module // run module