@posthog/ai 8.2.0 → 8.2.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.
- package/LICENSE +27 -0
- package/README.md +6 -149
- 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 +1 -1
- package/dist/index.mjs +1 -1
- package/dist/langchain/index.cjs +1 -1
- package/dist/langchain/index.mjs +1 -1
- package/dist/openai/index.cjs +12 -1
- package/dist/openai/index.cjs.map +1 -1
- package/dist/openai/index.d.ts +13 -0
- package/dist/openai/index.mjs +12 -1
- package/dist/openai/index.mjs.map +1 -1
- package/dist/openai-agents/index.cjs +1 -1
- package/dist/openai-agents/index.mjs +1 -1
- package/dist/vercel/index.cjs +1 -1
- package/dist/vercel/index.mjs +1 -1
- package/package.json +4 -4
|
@@ -116,7 +116,7 @@ const truncate = input => {
|
|
|
116
116
|
return `${truncatedStr}... [truncated]`;
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
-
var version = "8.2.
|
|
119
|
+
var version = "8.2.2";
|
|
120
120
|
|
|
121
121
|
// Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
|
|
122
122
|
// emits its own $ai_generation, so each call would be captured (and, for billable
|
|
@@ -114,7 +114,7 @@ const truncate = input => {
|
|
|
114
114
|
return `${truncatedStr}... [truncated]`;
|
|
115
115
|
};
|
|
116
116
|
|
|
117
|
-
var version = "8.2.
|
|
117
|
+
var version = "8.2.2";
|
|
118
118
|
|
|
119
119
|
// Warn when a wrapper's base_url points at the PostHog AI Gateway: the gateway
|
|
120
120
|
// emits its own $ai_generation, so each call would be captured (and, for billable
|
package/dist/vercel/index.cjs
CHANGED
package/dist/vercel/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@posthog/ai",
|
|
3
|
-
"version": "8.2.
|
|
3
|
+
"version": "8.2.2",
|
|
4
4
|
"description": "PostHog Node.js AI integrations",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"@types/jest": "^29.5.14",
|
|
30
30
|
"jest": "29.7.0",
|
|
31
31
|
"node-fetch": "^3.3.2",
|
|
32
|
+
"@posthog-tooling/rollup-utils": "1.1.1",
|
|
32
33
|
"@posthog-tooling/tsconfig-base": "1.1.1",
|
|
33
|
-
"posthog-node": "5.
|
|
34
|
-
"@posthog-tooling/rollup-utils": "1.1.1"
|
|
34
|
+
"posthog-node": "^5.38.5"
|
|
35
35
|
},
|
|
36
36
|
"keywords": [
|
|
37
37
|
"posthog",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"uuid": "^11.1.0",
|
|
51
51
|
"zod": "^4.1.13",
|
|
52
|
-
"@posthog/core": "1.
|
|
52
|
+
"@posthog/core": "^1.37.3"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@anthropic-ai/sdk": "^0.78.0",
|