@posthog/ai
8.22.0 · 20 Nov 2026MIT1.9M / weekRepositoryHomepagenpmAtom feed
8.22.0 is the newest release of 8.x.
In short
1 fixed1 internal
Release note
Patch Changes
Capture
$ai_stop_reasonfrom LangChain runs that use the OpenAI Responses API.The callback only understood Chat Completions vocabulary (
finish_reason/stop_reason), so Responses API runs, which reportstatusandincomplete_details.reasoninstead, never carried a stop reason. The Chat Completions keys keep priority, andincomplete_details.reasonoutranksstatus, so an early stop names its cause (for examplemax_output_tokens) instead of justincomplete. (2026-09-01)
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.