fix: global variable during debug & variable update textarea rerender (#2553)
* fix: global variable during debug & variable update textarea rerender * update var node use prompt editor * fix
This commit is contained in:
@@ -39,7 +39,7 @@ async function handler(
|
||||
const { user } = await getUserChatInfoAndAuthTeamPoints(tmbId);
|
||||
|
||||
/* start process */
|
||||
const { flowUsages, flowResponses, debugResponse } = await dispatchWorkFlow({
|
||||
const { flowUsages, flowResponses, debugResponse, newVariables } = await dispatchWorkFlow({
|
||||
res,
|
||||
requestOrigin: req.headers.origin,
|
||||
mode: 'debug',
|
||||
@@ -68,6 +68,7 @@ async function handler(
|
||||
|
||||
return {
|
||||
...debugResponse,
|
||||
newVariables,
|
||||
flowResponses
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user