---
type: email
from: Hassan Abu Alhaj <notifications@github.com>
subject: [openai/openai-agents-python] Fix: call `_fix_tool_message_ordering`

 for all Anthropic models (PR #1936)
received: 2026-03-06 08:08:49
date_header: Sun, 19 Oct 2025 07:43:23 -0700
priority: normal
status: awaiting_approval
uid: 32995
---

## Email Content

**From:** Hassan Abu Alhaj <notifications@github.com>
**Subject:** [openai/openai-agents-python] Fix: call `_fix_tool_message_ordering`

 for all Anthropic models (PR #1936)
**Date:** Sun, 19 Oct 2025 07:43:23 -0700

### Body (preview)

Resolves #1935



Fixed `_fix_tool_message_ordering()` to run for all Anthropic models instead of only when reasoning is enabled.

You can view, comment on, or merge this pull request online at:



  https://github.com/openai/openai-agents-python/pull/1936



-- Commit Summary --



  * fix: call `_fix_tool_message_ordering` for all anthropic models



-- File Changes --



    M src/agents/extensions/models/litellm_model.py (2)



-- Patch Links --



https://github.com/openai/openai-agents-python/pull/1936.patch

https://github.com/openai/openai-agents-python/pull/1936.diff



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1936

You are receiving this because you are subscribed to this thread.



Message ID: &lt;openai/openai-agents-python/pull/1936@github.com&gt;

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
