@posthog/ai 7.16.14 → 7.17.0
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/README.md +31 -0
- package/dist/anthropic/index.cjs +83 -95
- package/dist/anthropic/index.cjs.map +1 -1
- package/dist/anthropic/index.mjs +83 -95
- package/dist/anthropic/index.mjs.map +1 -1
- package/dist/gemini/index.cjs +92 -106
- package/dist/gemini/index.cjs.map +1 -1
- package/dist/gemini/index.mjs +92 -106
- package/dist/gemini/index.mjs.map +1 -1
- package/dist/index.cjs +267 -318
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +83 -2
- package/dist/index.mjs +245 -297
- package/dist/index.mjs.map +1 -1
- package/dist/langchain/index.cjs +2 -3
- package/dist/langchain/index.cjs.map +1 -1
- package/dist/langchain/index.mjs +2 -3
- package/dist/langchain/index.mjs.map +1 -1
- package/dist/openai/index.cjs +161 -185
- package/dist/openai/index.cjs.map +1 -1
- package/dist/openai/index.mjs +161 -185
- package/dist/openai/index.mjs.map +1 -1
- package/dist/openai-agents/index.cjs +2 -3
- package/dist/openai-agents/index.cjs.map +1 -1
- package/dist/openai-agents/index.mjs +2 -3
- package/dist/openai-agents/index.mjs.map +1 -1
- package/dist/vercel/index.cjs +104 -111
- package/dist/vercel/index.cjs.map +1 -1
- package/dist/vercel/index.mjs +104 -111
- package/dist/vercel/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/langchain/index.cjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var uuid = require('uuid');
|
|
4
|
-
require('@posthog/core');
|
|
5
4
|
|
|
6
5
|
function _interopNamespace(e) {
|
|
7
6
|
if (e && e.__esModule) return e;
|
|
@@ -23,8 +22,6 @@ function _interopNamespace(e) {
|
|
|
23
22
|
|
|
24
23
|
var uuid__namespace = /*#__PURE__*/_interopNamespace(uuid);
|
|
25
24
|
|
|
26
|
-
var version = "7.16.14";
|
|
27
|
-
|
|
28
25
|
// Type guards for safer type checking
|
|
29
26
|
|
|
30
27
|
const isString = value => {
|
|
@@ -669,6 +666,8 @@ var BaseCallbackHandler = class extends BaseCallbackHandlerMethodsClass {
|
|
|
669
666
|
}
|
|
670
667
|
};
|
|
671
668
|
|
|
669
|
+
var version = "7.17.0";
|
|
670
|
+
|
|
672
671
|
/** A run may either be a Span or a Generation */
|
|
673
672
|
|
|
674
673
|
/** Storage for run metadata */
|