---
type: email
from: jihun-im <notifications@github.com>
subject: [openai/openai-agents-python] Reasoning models doens't work with

 'store=False' when it is handoff-ed (Issue #1668)
received: 2026-03-06 07:22:14
date_header: Thu, 04 Sep 2025 23:39:18 -0700
priority: normal
status: awaiting_approval
uid: 29565
---

## Email Content

**From:** jihun-im <notifications@github.com>
**Subject:** [openai/openai-agents-python] Reasoning models doens't work with

 'store=False' when it is handoff-ed (Issue #1668)
**Date:** Thu, 04 Sep 2025 23:39:18 -0700

### Body (preview)

jihun-im created an issue (openai/openai-agents-python#1668)



### Describe the bug

Reasoning model like gpt-5 or gpt-5-nano doens't work with handoff + store=False.

At the handoff-ed agent I got error `"Items are not persisted when `store` is set to false. Try again with `store` set to true, or remove this item from your input."`



Agent definition:

```

    triage_agent = Agent[RunContext](

        name="triage_agent",

        instructions=instructions,

        model="gpt-5",

        model_settings=ModelSettings(

            tool_choice="auto",

            parallel_tool_calls=False,

            store=False,

        ),

        handoffs=[

            handoff(image_agent, input_filter=handoff_filters.remove_all_tools),

        ],

        tools=[

            WebSearchTool(**web_search_tool_kwargs),

        ],

    )



    image_agent = Agent[RunContext](

        name="image_agent",

        instructions=image_gen_instructions,

        model=openai_model,

        model_settings=ModelSettings(

            tool_choice="auto",

            parallel_tool_calls=False,

            store=False,

        ),

        handoff_description=image_agent_handoff_prompt,

        tools=image_agent_tools,

    )

```



Error log:

```

Traceback (most recent call last):

  File "/Users/user/github/lineai-agent-server/src/common/openai/openai_stream_handler.py", line 105, in stream_events

    async for event in self.result.stream_events():

  File "/Users/user/github/lineai-agent-server/.venv/lib/python3.11/site-packages/agents/result.py", line 215, in stream_events

    raise self._stored_exception

  File "/Users/user/github/lineai-agent-server/.venv/lib/python3.11/site-packages/agents/run.py", line 840, in _start_streaming

    turn_result = await cls._run_single_turn_streamed(

                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/Users/user/github/lineai-agent-server/.venv/lib/python3.11/site-packages/agents/run.py", line 1009, in _run_single_t

---

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