posthog-js icon indicating copy to clipboard operation
posthog-js copied to clipboard

OpenAI images API support in @posthog/ai

Open idolize opened this issue 4 months ago • 2 comments

Is your feature request related to a problem?

The @posthog/ai wrapper for OpenAI currently wraps the chat, completions, and responses APIs but does nothing with the images APIs.

Describe the solution you'd like

Wrap the images APIs to track data like the other APIs.

Describe alternatives you've considered

Related sub-libraries

  • [ ] All of them
  • [ ] posthog-js (web)
  • [ ] posthog-js-lite (web lite)
  • [ ] posthog-node
  • [ ] posthog-react-native
  • [ ] @posthog/react
  • [x] @posthog/ai
  • [ ] @posthog/nextjs-config

Additional context

Thank you for your feature request – we love each and every one!

idolize avatar Aug 31 '25 21:08 idolize

@PostHog/team-llm-analytics

marandaneto avatar Sep 03 '25 08:09 marandaneto

Thank you for the feature request! We'll take a look!

Radu-Raicea avatar Sep 03 '25 11:09 Radu-Raicea