$ai_base_url now populated; gateway deduping enabled
@posthog/ai@8.1.0
1 featureThis release1 featureNew capabilitiesAI-tallied from the release notes
8.1.0
Minor Changes
- #3751
9140a67Thanks @richardsolomou! - feat: 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)
Fetched June 9, 2026

