From a94c93cc39a47ffcbe94f4746435fcd08277beb2 Mon Sep 17 00:00:00 2001 From: Theo Dammaretz Date: Wed, 22 Jan 2025 12:02:06 +0100 Subject: [PATCH] fix: update error status on Dust piece to match changes in the API --- packages/pieces/community/dust/src/lib/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pieces/community/dust/src/lib/common.ts b/packages/pieces/community/dust/src/lib/common.ts index 7224b1cc0f..6d307595a9 100644 --- a/packages/pieces/community/dust/src/lib/common.ts +++ b/packages/pieces/community/dust/src/lib/common.ts @@ -89,7 +89,7 @@ export async function getConversationContent( let retries = 0; const maxRetries = timeout / 10; while ( - !['succeeded', 'errored'].includes( + !['succeeded', 'failed'].includes( getConversationStatus(conversation.body) ) && retries < maxRetries