We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd25492 commit 9ff982eCopy full SHA for 9ff982e
langfuse/decorators/langfuse_decorator.py
@@ -452,7 +452,7 @@ def _handle_call_result(
452
# Objects are later serialized again so deserialization is necessary here to avoid unnecessary escaping of quotes.
453
json.loads(
454
json.dumps(
455
- result if result and capture_output else None,
+ result if result is not None and capture_output else None,
456
cls=EventSerializer,
457
)
458
0 commit comments