Comparing version 3.16.1 to 3.16.2
@@ -152,3 +152,3 @@ 'use strict'; | ||
var version = "3.16.1"; | ||
var version = "3.16.2"; | ||
@@ -396,4 +396,9 @@ class Langfuse extends langfuseCore.LangfuseCore { | ||
langfuseParent = config.parent; | ||
// Remove the parent from the config to avoid circular references in the generation body | ||
const filteredConfig = { | ||
...config, | ||
parent: undefined | ||
}; | ||
observationData = { | ||
...config, | ||
...filteredConfig, | ||
...observationData, | ||
@@ -400,0 +405,0 @@ promptName: config?.promptName ?? config?.langfusePrompt?.name, |
{ | ||
"name": "langfuse", | ||
"version": "3.16.1", | ||
"version": "3.16.2", | ||
"engines": { | ||
@@ -35,5 +35,5 @@ "node": ">=18" | ||
"dependencies": { | ||
"langfuse-core": "^3.16.1" | ||
"langfuse-core": "^3.16.2" | ||
}, | ||
"gitHead": "cbe368511df3e78d1fbf1089936ca3966ca92b0a", | ||
"gitHead": "3648810817b4eea3c81d958ef14573599b726714", | ||
"devDependencies": { | ||
@@ -40,0 +40,0 @@ "typedoc": "^0.26.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
126061
1154
Updatedlangfuse-core@^3.16.2