@posthog/ai 8.6.6 → 8.6.7

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.
@@ -406,7 +406,7 @@ function sanitizeValues(obj) {
406
406
  return jsonSafe;
407
407
  }
408
408
 
409
- var version = "8.6.6";
409
+ var version = "8.6.7";
410
410
 
411
411
  const DEFAULT_MAX_DEPTH = 3;
412
412
  const MAX_STACK_LINES = 20;
@@ -709,7 +709,7 @@ const mapVercelPrompt = messages => {
709
709
  } else if (c.type === 'reasoning') {
710
710
  return {
711
711
  type: 'reasoning',
712
- text: truncate(c.reasoning)
712
+ text: truncate(c.text)
713
713
  };
714
714
  } else if (c.type === 'tool-call') {
715
715
  return {