Packages

@posthog/ai

8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed

Upgrading @posthog/ai From 8.10.3 to 8.10.4

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 8.10.3Newest 8.x, Latest8.22.0
  1. 8.10.3yours
  2. 8.10.4target
0
changes to make
0
advisories fixed
0
new
1
fix

Release by release

  1. 8.10.4

    10 Sep 20261 fix
    • Fixed

      ai: Only record a service tier the provider actually served. The requested service_tier no longer reaches $ai_model_parameters from any capture path — OpenAI error paths, the LangChain callback, and Anthropic events (whose 'auto'/'standard_only' request values were previously recorded) — so cost processing cannot price tokens at an unconfirmed tier. The LangChain callback now reads the served tier from the response (message response_metadata or generationInfo, depending on the adapter), and OpenAI and LangChain generations additionally emit the served tier as the explicit $ai_service_tier event property, which cost processing prices from. (2026-09-10)

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.