Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion run_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -3611,7 +3611,7 @@ def _bg_review_auto_deny(command, description, **kwargs):
_parent_runtime = self._current_main_runtime()
review_agent = AIAgent(
model=self.model,
max_iterations=8,
max_iterations=16,
quiet_mode=True,
platform=self.platform,
provider=self.provider,
Expand All @@ -3629,6 +3629,14 @@ def _bg_review_auto_deny(command, description, **kwargs):
review_agent._user_profile_enabled = self._user_profile_enabled
review_agent._memory_nudge_interval = 0
review_agent._skill_nudge_interval = 0
# Suppress all status/warning emits from the fork so the
# user only sees the final successful-action summary.
# Without this, mid-review "Iteration budget exhausted",
# rate-limit retries, compression warnings, and other
# lifecycle messages bubble up through _emit_status ->
# _vprint and leak past the stdout redirect (they go via
# _print_fn/status_callback, which bypass sys.stdout).
review_agent.suppress_status_output = True

review_agent.run_conversation(
user_message=prompt,
Expand Down
Loading