@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
Upgrading @posthog/ai From 7.19.7 to 7.20.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 0
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Release by release
- New
Add
$ai_completion_idand$ai_provider_metadatato$ai_generationevents for the OpenAI and Azure OpenAI wrappers.$ai_completion_idis the provider's response ID (e.g.chatcmpl-…/resp_…);$ai_provider_metadatacarries OpenAI-specific fields (system_fingerprint,request_id). Together they enable correlating PostHog events with OpenAI's Logs dashboard (platform.openai.com/logs/{completion_id}). The same options (completionId,providerMetadata) are now accepted by the publiccaptureAiGenerationprimitive so other provider wrappers can follow the same pattern. (2026-05-29)
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.