feat: Add the workflowInteractiveResponse field in the debugging handler to enhance response capabilities
This commit is contained in:
@@ -52,7 +52,8 @@ async function handler(
|
|||||||
const { timezone, externalProvider } = await getUserChatInfoAndAuthTeamPoints(tmbId);
|
const { timezone, externalProvider } = await getUserChatInfoAndAuthTeamPoints(tmbId);
|
||||||
|
|
||||||
/* start process */
|
/* start process */
|
||||||
const { flowUsages, flowResponses, debugResponse, newVariables } = await dispatchWorkFlow({
|
const { flowUsages, flowResponses, debugResponse, newVariables, workflowInteractiveResponse } =
|
||||||
|
await dispatchWorkFlow({
|
||||||
res,
|
res,
|
||||||
requestOrigin: req.headers.origin,
|
requestOrigin: req.headers.origin,
|
||||||
mode: 'debug',
|
mode: 'debug',
|
||||||
@@ -92,7 +93,8 @@ async function handler(
|
|||||||
return {
|
return {
|
||||||
...debugResponse,
|
...debugResponse,
|
||||||
newVariables,
|
newVariables,
|
||||||
flowResponses
|
flowResponses,
|
||||||
|
workflowInteractiveResponse
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user