Skip to content

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.

3 participants