fix: loop filter (#6033)

This commit is contained in:
Archer
2025-12-05 11:37:21 +08:00
committed by GitHub
parent 48aaa73f3d
commit 003e66883c
4 changed files with 8 additions and 4 deletions
@@ -56,7 +56,7 @@ export const dispatchLoop = async (props: Props): Promise<Response> => {
let interactiveResponse: WorkflowInteractiveResponseType | undefined = undefined;
let index = 0;
for await (const item of loopInputArray.filter(Boolean)) {
for await (const item of loopInputArray) {
// Skip already looped
if (lastIndex && index < lastIndex) {
index++;