Skip to content

Conversation

@frankong
Copy link

Fix openai async missing await causing error:

File "/usr/local/lib/python3.12/site-packages/posthog/ai/openai/openai_async.py", line 356, in async_generator
async for chunk in response:
                   ^^^^^^^^
TypeError: 'async for' requires an object with __aiter__ method, got coroutine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant