AI wrapper baseUrl warns when pointing at PostHog AI Gateway
v7.18.3
1 enhancementThis release1 enhancementImprovements to existing featuresAI-tallied from the release notes
Patch changes
- ee6a3c8 Warn when an AI wrapper's
base_urlpoints at the PostHog AI Gateway. The gateway emits its own$ai_generation, so each call would be captured (and billed) twice. The wrapper only warns and never drops the event. Detection covers the wrapper funnels (OpenAI, Anthropic, LangChain) and the OTel span path. — Thanks @richardsolomou!
Fetched June 12, 2026


