Skip to content

Commit 15d04f0

Browse files
committed
feat(langchain): langfuse trace attributes in run invocation config
1 parent 2d19d13 commit 15d04f0

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

langfuse/langchain/CallbackHandler.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -972,11 +972,7 @@ def _strip_langfuse_keys_from_dict(metadata: Optional[Dict[str, Any]]):
972972
if metadata is None or not isinstance(metadata, dict):
973973
return metadata
974974

975-
langfuse_metadata_keys = [
976-
"langfuse_prompt",
977-
"langfuse_session_id",
978-
"langfuse_user_id",
979-
]
975+
langfuse_metadata_keys = ["langfuse_prompt"]
980976

981977
metadata_copy = metadata.copy()
982978

0 commit comments

Comments
 (0)