ai 5.0.25 → 5.0.26

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
@@ -9472,7 +9472,10 @@ var AbstractChat = class {
9472
9472
  throw error;
9473
9473
  }
9474
9474
  });
9475
- (_a17 = this.onFinish) == null ? void 0 : _a17.call(this, { message: activeResponse.state.message });
9475
+ (_a17 = this.onFinish) == null ? void 0 : _a17.call(this, {
9476
+ message: activeResponse.state.message,
9477
+ messages: this.state.messages
9478
+ });
9476
9479
  this.setStatus({ status: "ready" });
9477
9480
  } catch (err) {
9478
9481
  if (err.name === "AbortError") {