ai 5.0.71 → 5.0.72

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/index.mjs CHANGED
@@ -695,7 +695,7 @@ import {
695
695
  } from "@ai-sdk/provider-utils";
696
696
 
697
697
  // src/version.ts
698
- var VERSION = true ? "5.0.71" : "0.0.0-test";
698
+ var VERSION = true ? "5.0.72" : "0.0.0-test";
699
699
 
700
700
  // src/util/download/download.ts
701
701
  var download = async ({ url }) => {
@@ -10004,7 +10004,7 @@ var AbstractChat = class {
10004
10004
  }
10005
10005
  this.activeResponse = void 0;
10006
10006
  }
10007
- if ((_b = this.sendAutomaticallyWhen) == null ? void 0 : _b.call(this, { messages: this.state.messages })) {
10007
+ if (((_b = this.sendAutomaticallyWhen) == null ? void 0 : _b.call(this, { messages: this.state.messages })) && !isError) {
10008
10008
  await this.makeRequest({
10009
10009
  trigger: "submit-message",
10010
10010
  messageId: (_c = this.lastMessage) == null ? void 0 : _c.id,