feat: remove realmode
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user