@posthog/ai 8.22.2 → 8.22.3

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.
@@ -615,7 +615,7 @@ function addDefaults(params) {
615
615
  }
616
616
  //#endregion
617
617
  //#region package.json
618
- var version = "8.22.2";
618
+ var version = "8.22.3";
619
619
  //#endregion
620
620
  //#region src/serializeError.ts
621
621
  const DEFAULT_MAX_DEPTH = 3;
@@ -1473,6 +1473,9 @@ var WrappedModels = class {
1473
1473
  arguments: funcCall.args || {}
1474
1474
  }
1475
1475
  });
1476
+ } else if (part.inlineData) {
1477
+ if (firstTokenTime === void 0) firstTokenTime = Date.now();
1478
+ accumulatedContent.push(formatInlineDataBlock(part.inlineData, this.phClient));
1476
1479
  }
1477
1480
  }
1478
1481
  }