Repository navigation
posthog-v7.75.3
Immutable
release. Only release title and notes can be modified.
Patch changes
- a6ddc2e The LangChain callback handler now records
$ai_http_statusas an integer for failed generations. An error that carries a stringcodeand no status code (such as OpenAI'srate_limit_exceeded) gave a string status; it now gives0, as an error without a status already did. — Thanks @pcbeingused333 for your first contribution 🎉! - 42c8b7b A non-streamed OpenAI chat completion that the model refused is no longer captured with an empty
$ai_output_choices: the refusal text is recorded as arefusalcontent block, as it already is for streamed responses. — Thanks @pcbeingused333 for your first contribution 🎉! - dc2a2b4 Streamed OpenAI, Anthropic and Gemini generations that raise mid-stream are now captured with
$ai_is_errorand$ai_error(and the error's status code as$ai_http_status) instead of being recorded as a successful 200. The error is still re-raised to the caller, matching what non-streaming calls already did. — Thanks @pcbeingused333 for your first contribution 🎉!