---
type: email
from: Sung-jin Brian Hong <notifications@github.com>
subject: Re: [openai/openai-agents-python] feat: Support Anthropic extended

 thinking and interleaved thinking (PR #1744)
received: 2026-03-06 07:34:57
date_header: Mon, 15 Sep 2025 04:47:59 -0700
priority: normal
status: awaiting_approval
uid: 30450
---

## Email Content

**From:** Sung-jin Brian Hong <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] feat: Support Anthropic extended

 thinking and interleaved thinking (PR #1744)
**Date:** Mon, 15 Sep 2025 04:47:59 -0700

### Body (preview)

@serialx commented on this pull request.







>          if state.reasoning_content_index_and_output:

-            outputs.append(state.reasoning_content_index_and_output[1])

+            reasoning_item = state.reasoning_content_index_and_output[1]

+            # Store thinking text in content and signature in encrypted_content

+            if state.thinking_text:

+                # Add thinking text as a Content object

+                if not reasoning_item.content:

+                    reasoning_item.content = []

+                reasoning_item.content.append(

+                    Content(text=state.thinking_text, type="reasoning_text")

+                )

+            # Store signature in encrypted_content

+            if state.thinking_signature:

+                reasoning_item.encrypted_content = state.thinking_signature



@codex This is the same as above.



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1744#discussion_r2348743641

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



Message ID: <openai/openai-agents-python/pull/1744/review/3224224301@github.com>

---

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