---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: Re: [openai/openai-agents-python] Fix: Emit tool_called events

 immediately in streaming runs (PR #1300)
received: 2026-03-05 10:02:27
date_header: Tue, 12 Aug 2025 00:29:17 -0700
priority: normal
status: awaiting_approval
uid: 27269
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] Fix: Emit tool_called events

 immediately in streaming runs (PR #1300)
**Date:** Tue, 12 Aug 2025 00:29:17 -0700

### Body (preview)

seratch left a comment (openai/openai-agents-python#1300)



@rm-openai I think this is good to go. You can check the behavior by running something like this:

```python

    result = Runner.run_streamed(agent, input="Please tell me 5 jokes.")

    async for event in result.stream_events():

        if event.type == "run_item_stream_event" and event.name == "tool_called":

            print(event.item.raw_item.name + " called with " + event.item.raw_item.arguments)

        if event.type == "raw_response_event" and isinstance(event.data, ResponseTextDeltaEvent):

            print(event.data.delta, end="", flush=True)

```



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1300#issuecomment-3178058881

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



Message ID: <openai/openai-agents-python/pull/1300/c3178058881@github.com>

---

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