Skip to content

Commit b3688db

Browse files
authored
[sandbox] Raise Phase 2 memory consolidation turn limit (#3038)
### Summary - Phase 2 sandbox memory consolidation can need more than the default runner turn cap when rewriting memory files. - Pass `max_turns=500` for the Phase 2 consolidation agent only.
1 parent 8025ed0 commit b3688db

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/sandbox/memory/phase_two.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ async def run_phase_two(
3434
selection=selection,
3535
extra_prompt=config.extra_prompt,
3636
)
37-
await Runner.run(agent, prompt, run_config=run_config)
37+
await Runner.run(agent, prompt, run_config=run_config, max_turns=500)

0 commit comments

Comments
 (0)