@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
8.22.0 is the newest release of 8.x.
In short
1 new
Release note
Minor Changes
Populate
$ai_base_urlon the Vercel and OpenAI Agents instrumentation paths so gateway-routed$ai_generationevents can be deduped on ingestion. The Vercel middleware recovers the base URL from the provider's internalconfig(config.baseURL, or theconfig.url({ path })closure used by@ai-sdk/openai/openai-compatible) instead of hardcoding an empty string. The OpenAI Agents processor emits it frommodel_config.base_urlwhen the SDK exposes it (best-effort; the SDK omits it for Responses calls and for chat calls with model settings).
(2026-06-09)
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.