Skip to content

Commit b68fd09

Browse files
tatoaloskoob13
andauthored
chore(ph-ai): isistance check
Co-authored-by: Georgiy Tarasov <[email protected]>
1 parent 9c6ec03 commit b68fd09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posthog/ai/langchain/callbacks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ def _capture_generation(
570570
"$ai_framework": "langchain",
571571
}
572572

573-
if run.posthog_properties:
573+
if isinstance(run.posthog_properties, dict):
574574
event_properties.update(run.posthog_properties)
575575

576576
if run.tools:

0 commit comments

Comments
 (0)