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

Support AI-SDK v6 (beta)

Open joesaunderson opened this issue 1 month ago • 2 comments

Is your feature request related to a problem?

the posthog/ai package does not work with the AI SDK v6 beta release.

TS2345: Argument of type LanguageModelV3 is not assignable to parameter of type LanguageModelV2

Describe the solution you'd like

It is supported

Describe alternatives you've considered

Don't use PostHog AI

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!

joesaunderson avatar Oct 29 '25 09:10 joesaunderson

@PostHog/team-llm-analytics

marandaneto avatar Nov 01 '25 07:11 marandaneto

Do you have an update on this? We've had LLM insights off for the last week because we've moved to beta.

joesaunderson avatar Nov 07 '25 15:11 joesaunderson