mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 10:07:24 +00:00
fix: node copy, debug variables, auto-execution (#5664)
* fix debug variables * auto execute condition * fix autoTTSResponse * node copy * memory debug nodes * doc * yuque doc * fix: debug * img * i18n --------- Co-authored-by: archer <545436317@qq.com>
This commit is contained in:
@@ -141,6 +141,7 @@ export const runWorkflow = async (data: RunWorkflowProps): Promise<DispatchFlowR
|
||||
flowUsages: [],
|
||||
debugResponse: {
|
||||
memoryEdges: [],
|
||||
memoryNodes: [],
|
||||
entryNodeIds: [],
|
||||
nodeResponses: {},
|
||||
skipNodeQueue: []
|
||||
@@ -850,6 +851,7 @@ export const runWorkflow = async (data: RunWorkflowProps): Promise<DispatchFlowR
|
||||
...edge,
|
||||
status: entryNodeIds.includes(edge.target) ? 'active' : edge.status
|
||||
})),
|
||||
memoryNodes: Array.from(this.runtimeNodesMap.values()),
|
||||
entryNodeIds,
|
||||
nodeResponses: this.debugNodeResponses,
|
||||
skipNodeQueue: Array.from(this.skipNodeQueue.values()).map((item) => ({
|
||||
|
@@ -15,6 +15,7 @@ import type { ChatNodeUsageType } from '@fastgpt/global/support/wallet/bill/type
|
||||
|
||||
export type WorkflowDebugResponse = {
|
||||
memoryEdges: RuntimeEdgeItemType[];
|
||||
memoryNodes: RuntimeNodeItemType[];
|
||||
entryNodeIds: string[]; // Next step entry nodes
|
||||
nodeResponses: Record<
|
||||
string,
|
||||
|
Reference in New Issue
Block a user