@axiom-lattice/gateway 2.1.70 → 2.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/controllers/workflow-tracking.ts +12 -3
package/dist/index.mjs
CHANGED
|
@@ -2030,6 +2030,10 @@ async function replyInboxTask(request, reply) {
|
|
|
2030
2030
|
tenant_id: tenantId
|
|
2031
2031
|
});
|
|
2032
2032
|
try {
|
|
2033
|
+
const queueStore = agent.getQueueStore?.() || agent.queueStore;
|
|
2034
|
+
if (queueStore?.resetProcessingToPending) {
|
|
2035
|
+
await queueStore.resetProcessingToPending(run.threadId);
|
|
2036
|
+
}
|
|
2033
2037
|
await agent.addMessage({
|
|
2034
2038
|
input: { message: "Clarification answers submitted" },
|
|
2035
2039
|
command: {
|
|
@@ -2040,6 +2044,7 @@ async function replyInboxTask(request, reply) {
|
|
|
2040
2044
|
}
|
|
2041
2045
|
}
|
|
2042
2046
|
});
|
|
2047
|
+
await agent.startQueueProcessorIfNeeded();
|
|
2043
2048
|
} catch (error) {
|
|
2044
2049
|
return reply.status(400).send({
|
|
2045
2050
|
success: false,
|