Skip to content

@posthog/ai@8.9.3

Choose a tag to compare

@github-actions github-actions released this 01 Sep 14:28
Immutable release. Only release title and notes can be modified.
9a79809

8.9.3

Patch Changes

  • #4700 a105b77 Thanks @bernatixer! - Capture $ai_stop_reason from LangChain runs that use the OpenAI Responses API.

    The callback only understood Chat Completions vocabulary (finish_reason / stop_reason), so Responses API runs, which report status and incomplete_details.reason instead, never carried a stop reason. The Chat Completions keys keep priority, and incomplete_details.reason outranks status, so an early stop names its cause (for example max_output_tokens) instead of just incomplete. (2026-09-01)

  • Updated dependencies [e87820a]:

    • @posthog/core@1.50.1