ai 6.0.0-beta.47 → 6.0.0-beta.48

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
@@ -774,7 +774,7 @@ import {
774
774
  } from "@ai-sdk/provider-utils";
775
775
 
776
776
  // src/version.ts
777
- var VERSION = true ? "6.0.0-beta.47" : "0.0.0-test";
777
+ var VERSION = true ? "6.0.0-beta.48" : "0.0.0-test";
778
778
 
779
779
  // src/util/download/download.ts
780
780
  var download = async ({ url }) => {
@@ -10469,7 +10469,7 @@ var AbstractChat = class {
10469
10469
  }
10470
10470
  this.activeResponse = void 0;
10471
10471
  }
10472
- if ((_b = this.sendAutomaticallyWhen) == null ? void 0 : _b.call(this, { messages: this.state.messages })) {
10472
+ if (((_b = this.sendAutomaticallyWhen) == null ? void 0 : _b.call(this, { messages: this.state.messages })) && !isError) {
10473
10473
  await this.makeRequest({
10474
10474
  trigger: "submit-message",
10475
10475
  messageId: (_c = this.lastMessage) == null ? void 0 : _c.id,