Skip to content

@langchain/openai@1.8.5

Choose a tag to compare

@github-actions github-actions released this 20 Nov 18:52
f115c47

Patch Changes

  • #12252 bbf8a1a Thanks @thushanth-bengre-langchain! - Set normalized_finish_reason in response_metadata for Chat Completions (a refusal or a forced tool call ending in stop maps to refusal / tool_call), and finish_reason (the status) plus normalized_finish_reason for the Responses API, on invoke and streamed results. Responses message-finish events carry the same fields.