---
type: email
from: Filinto Duran <notifications@github.com>
subject: Re: [openai/openai-agents-python] Add Dapr session storage option (PR

 #1937)
received: 2026-03-06 08:08:56
date_header: Sun, 19 Oct 2025 10:04:53 -0700
priority: normal
status: awaiting_approval
uid: 33005
---

## Email Content

**From:** Filinto Duran <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] Add Dapr session storage option (PR

 #1937)
**Date:** Sun, 19 Oct 2025 10:04:53 -0700

### Body (preview)

@filintod commented on this pull request.







> +    async def get_items(self, limit: int | None = None) -> list[TResponseInputItem]:

+        """Retrieve the conversation history for this session.

+

+        Args:

+            limit: Maximum number of items to retrieve. If None, retrieves all items.

+                   When specified, returns the latest N items in chronological order.

+

+        Returns:

+            List of input items representing the conversation history

+        """

+        async with self._lock:

+            # Get messages from state store

+            response = await self._dapr_client.get_state(

+                store_name=self._state_store_name,

+                key=self._messages_key,

+            )



true we are not using it and only using the default in the component, will fix



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/pull/1937#discussion_r2443399856

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



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

---

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