@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.
- package/dist/anthropic/index.cjs +1 -1
- package/dist/anthropic/index.mjs +1 -1
- package/dist/gemini/index.cjs +1 -1
- package/dist/gemini/index.mjs +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/langchain/index.cjs +1 -1
- package/dist/langchain/index.mjs +1 -1
- package/dist/openai/index.cjs +1 -1
- package/dist/openai/index.mjs +1 -1
- package/dist/openai-agents/index.cjs +1 -1
- package/dist/openai-agents/index.mjs +1 -1
- package/dist/vercel/index.cjs +2 -2
- package/dist/vercel/index.cjs.map +1 -1
- package/dist/vercel/index.mjs +2 -2
- package/dist/vercel/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/vercel/index.mjs
CHANGED
|
@@ -406,7 +406,7 @@ function sanitizeValues(obj) {
|
|
|
406
406
|
return jsonSafe;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
|
-
var version = "8.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.
|
|
712
|
+
text: truncate(c.text)
|
|
713
713
|
};
|
|
714
714
|
} else if (c.type === 'tool-call') {
|
|
715
715
|
return {
|