SDK-Python: AttributeError: 'NoneType' object has no attribute 'get #4832
-
|
Hi, langfuse==2.56.2
langgraph==0.2.52
langchain-core==0.3.19The error details: {
"message": "'NoneType' object has no attribute 'get'\nTraceback (most recent call last):\n File \"/usr/local/lib/python3.12/site-packages/langfuse/callback/langchain.py\", line 302, in __generate_trace_and_parent\n class_name = self.get_langchain_run_name(serialized, **kwargs)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/usr/local/lib/python3.12/site-packages/langfuse/callback/langchain.py\", line 169, in get_langchain_run_name\n return serialized.get(\"name\", serialized.get(\"id\", [\"<unknown>\"])[-1])\n ^^^^^^^^^^^^^^\nAttributeError: 'NoneType' object has no attribute 'get'",
"level": "ERROR",
"name": "langfuse",
"timestamp": "2024-12-25T04:55:53.060356+00:00"
} |
Beta Was this translation helpful? Give feedback.
Answered by
marcklingen
Dec 25, 2024
Replies: 1 comment 1 reply
-
|
Turning this into an issue, thanks for reporting |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
marcklingen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Turning this into an issue, thanks for reporting
#4834