feat: remove realmode
This commit is contained in:
@@ -65,7 +65,6 @@ export type ModuleDispatchProps<T> = ChatDispatchProps & {
|
||||
runtimeNodes: RuntimeNodeItemType[];
|
||||
runtimeEdges: RuntimeEdgeItemType[];
|
||||
params: T;
|
||||
realmode: 'chat' | 'debug' | 'test';
|
||||
};
|
||||
|
||||
export type SystemVariablesType = {
|
||||
|
||||
@@ -581,8 +581,7 @@ export async function dispatchWorkFlow(data: Props): Promise<DispatchFlowRespons
|
||||
runtimeNodes,
|
||||
runtimeEdges,
|
||||
params,
|
||||
mode: props.mode === 'debug' ? 'test' : props.mode,
|
||||
realmode: props.mode
|
||||
mode: props.mode === 'debug' ? 'test' : props.mode
|
||||
};
|
||||
|
||||
// run module
|
||||
|
||||
Reference in New Issue
Block a user