You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(llma): add $ai_stop_reason extraction for all providers (#499)
* feat(llma): add $ai_stop_reason extraction for all providers
Extracts finish_reason/stop_reason from OpenAI, Anthropic, and Gemini responses
(both streaming and non-streaming) and captures it as $ai_stop_reason. Also
adds support for LangChain, OpenAI Agents SDK, and Claude Agent SDK.
* chore(llma): add integration tests for $ai_stop_reason and sampo changeset
* fix(llma): address review feedback for $ai_stop_reason
- Fix ruff formatting in utils.py
- Deduplicate extract_gemini_stop_reason_from_chunk to delegate to extract_gemini_stop_reason
- Parameterize stop_reason_captured and stop_reason_max_tokens tests
0 commit comments