@mastra/ai-sdk 1.11.0 → 1.11.1-alpha.0
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/chat-route.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -15487,7 +15487,7 @@ function streamV6ApprovalResumes(args) {
|
|
|
15487
15487
|
successfulLegs++;
|
|
15488
15488
|
} catch (error) {
|
|
15489
15489
|
const id = error?.id;
|
|
15490
|
-
if (id !== "AGENT_RESUME_TOOL_CALL_NOT_SUSPENDED" && id !== "AGENT_RESUME_NO_SNAPSHOT_FOUND") throw error;
|
|
15490
|
+
if (id !== "AGENT_RESUME_TOOL_CALL_NOT_SUSPENDED" && id !== "AGENT_RESUME_NO_SNAPSHOT_FOUND" && id !== "AGENT_RESUME_ALREADY_CLAIMED") throw error;
|
|
15491
15491
|
firstResolvedTargetError ??= error;
|
|
15492
15492
|
}
|
|
15493
15493
|
if (successfulLegs === 0 && firstResolvedTargetError) throw firstResolvedTargetError;
|