Skip to content

Comments

fix: async client#196

Merged
k11kirky merged 3 commits intomasterfrom
fix/async-client
Feb 23, 2025
Merged

fix: async client#196
k11kirky merged 3 commits intomasterfrom
fix/async-client

Conversation

@k11kirky
Copy link
Contributor

fix open ai async client

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR fixes async client support for OpenAI in the PostHog Python SDK by adding privacy mode and groups parameter handling.

  • Added posthog_privacy_mode and posthog_groups parameters to posthog/ai/openai/openai_async.py for better control over data privacy
  • Updated version to 3.14.3 in posthog/version.py to reflect the async client fix
  • Added proper parameter handling across wrapper classes (WrappedChat, WrappedCompletions, WrappedBetaCompletions) for consistent event tracking

3 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@k11kirky k11kirky merged commit 57a3e74 into master Feb 23, 2025
6 checks passed
@k11kirky k11kirky deleted the fix/async-client branch February 23, 2025 13:10
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.

2 participants