8000 feat: add support for parse via responses by k11kirky · Pull Request #256 · PostHog/posthog-python · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: add support for parse via responses #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 11, 2025
Merged

Conversation

k11kirky
Copy link
Contributor

Parse has been added to openAI's responses api out of beta. Lets support it

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

Added support for OpenAI's responses.parse endpoint which has graduated from beta, implementing consistent tracking and privacy handling across sync/async interfaces.

  • Implemented parse method in posthog/ai/openai/openai.py and openai_async.py with PostHog analytics tracking
  • Version bumped to 4.7.0 in accordance with semantic versioning for new feature addition
  • Added comprehensive test coverage in test_openai.py for parse functionality and response handling
  • Maintained consistent privacy mode handling and analytics tracking patterns across implementation

5 files reviewed, no comments
Edit PR Review Bot Settings | Greptile

@k11kirky k11kirky merged commit 01751d1 into master Jun 11, 2025
6 checks passed
@k11kirky k11kirky deleted the feat/responses-parse branch June 11, 2025 04:39
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
0