---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: Re: [openai/openai-agents-python] fix: #1121 expose model request IDs

 on raw responses (PR #2552)
received: 2026-03-06 06:46:28
priority: high
status: awaiting_approval
---

## Email Content
@seratch commented on this pull request.







> +            response = await self._client.responses.create(**create_kwargs)

+            return cast(AsyncIterator[ResponseStreamEvent], response)

+

+        # Keep the raw API response open while callers consume the SSE stream so we can expose

+        # its request ID on terminal response payloads before cleanup closes the transport.

+        api_response_cm = stream_create(**create_kwargs)

+        api_response = await api_response_cm.__aenter__()

+        try:

+            stream_response = await api_response.parse()

+        except BaseException as exc:

+            await api_response_cm.__aexit__(type(exc), exc, exc.__traceback__)

+            raise

+

+        return _ResponseStreamWithRequestId(

+            cast(Async...

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Flag for review
