@posthog/ai 8.11.0 → 8.11.2

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.
@@ -247,7 +247,11 @@ function toContentString(content) {
247
247
  if (content !== void 0 && content !== null && typeof content === "object") try {
248
248
  return JSON.stringify(content);
249
249
  } catch {
250
- return String(content);
250
+ try {
251
+ return String(content);
252
+ } catch {
253
+ return "";
254
+ }
251
255
  }
252
256
  return String(content);
253
257
  }
@@ -491,7 +495,7 @@ function formatOpenAIResponsesInput(input, instructions) {
491
495
  }
492
496
  //#endregion
493
497
  //#region package.json
494
- var version = "8.11.0";
498
+ var version = "8.11.2";
495
499
  //#endregion
496
500
  //#region src/serializeError.ts
497
501
  const DEFAULT_MAX_DEPTH = 3;