Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion posthog/ai/openai/openai_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ async def _create_streaming(
if "stream_options" not in kwargs:
kwargs["stream_options"] = {}
kwargs["stream_options"]["include_usage"] = True
response = self._original.create(**kwargs)
response = await self._original.create(**kwargs)

async def async_generator():
nonlocal usage_stats
Expand Down