Skip to content

The agent that grows with you

refactor(agent/chat_completion_helpers): drop stray section header, fix blank-line spacing

Teknium032ac76293a6
diff --git a/agent/chat_completion_helpers.py b/agent/chat_completion_helpers.py
index 07124959268..1b358a657b1 100644
--- a/agent/chat_completion_helpers.py
+++ b/agent/chat_completion_helpers.py
@@ -2734,7 +2734,6 @@ def handle_max_iterations(agent, messages: list, api_call_count: int) -> str:
return final_response
-
def cleanup_task_resources(agent, task_id: str) -> None:
"""Per-turn VM + browser cleanup for a task.
@@ -4227,10 +4226,6 @@ def interruptible_streaming_api_call(agent, api_kwargs: dict, *, on_first_delta=
_check_stale_giveup(agent)
return _StreamingCall(agent, api_kwargs, on_first_delta).run()
-# ── Provider fallback ──────────────────────────────────────────────────
-
-
-
__all__ = [
"interruptible_api_call",
"build_api_kwargs",