---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: Re: [openai/openai-agents-python] Fix #1564 Add conversations API

 support (PR #1587)
received: 2026-03-06 07:16:46
date_header: Thu, 28 Aug 2025 18:38:25 -0700
priority: normal
status: awaiting_approval
uid: 28972
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] Fix #1564 Add conversations API

 support (PR #1587)
**Date:** Thu, 28 Aug 2025 18:38:25 -0700

### Body (preview)

@seratch commented on this pull request.







> +from .session import SessionABC

+

+

+async def start_openai_session(openai_client: Optional[AsyncOpenAI] = None) -> str:

+    _openai_client = openai_client

+    if openai_client is None:

+        _openai_client = get_default_openai_client() or AsyncOpenAI()

+

+    response = await _openai_client.conversations.create(items=[])  # type: ignore [union-attr]

+    return response.id

+

+

+class OpenAISession(SessionABC):

+    def __init__(

+        self,

+        session_id: Optional[str] = None,



OK, this is done ✅ 



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1587#discussion_r2308909860

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



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

---

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