@standardagents/builder 0.11.8 → 0.11.9
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/dist/built-in-routes.js +2 -2
- package/dist/built-in-routes.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/built-in-routes.js
CHANGED
|
@@ -4921,8 +4921,8 @@ var init_FlowEngine = __esm({
|
|
|
4921
4921
|
);
|
|
4922
4922
|
return !hasExistingResult;
|
|
4923
4923
|
});
|
|
4924
|
-
if (toolsToExecute && toolsToExecute.length > 0) {
|
|
4925
|
-
await ToolExecutor.executeSequence(state, toolsToExecute);
|
|
4924
|
+
if (toolsToExecute && toolsToExecute.length > 0 || state.sequence.queue.length > 0) {
|
|
4925
|
+
await ToolExecutor.executeSequence(state, toolsToExecute || []);
|
|
4926
4926
|
}
|
|
4927
4927
|
if (await state.thread.instance.shouldStop() || state.abortController?.signal.aborted) {
|
|
4928
4928
|
throw new Error("aborted");
|