@posthog/ai 8.22.2 → 8.22.4

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.
@@ -619,7 +619,7 @@ function addDefaults(params) {
619
619
  }
620
620
  //#endregion
621
621
  //#region package.json
622
- var version = "8.22.2";
622
+ var version = "8.22.4";
623
623
  //#endregion
624
624
  //#region src/serializeError.ts
625
625
  const DEFAULT_MAX_DEPTH = 3;
@@ -1477,6 +1477,9 @@ var WrappedModels = class {
1477
1477
  arguments: funcCall.args || {}
1478
1478
  }
1479
1479
  });
1480
+ } else if (part.inlineData) {
1481
+ if (firstTokenTime === void 0) firstTokenTime = Date.now();
1482
+ accumulatedContent.push(formatInlineDataBlock(part.inlineData, this.phClient));
1480
1483
  }
1481
1484
  }
1482
1485
  }