From 8acac440f4ef35c26b46b56c2d035cbdef0c465c Mon Sep 17 00:00:00 2001 From: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com> Date: Sat, 11 Jul 2026 02:58:47 +0530 Subject: [PATCH] fix(cron): keep inline dispatch behind the agent call seam --- agent/conversation_loop.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/agent/conversation_loop.py b/agent/conversation_loop.py index b90d93b0124..ce62ffcde1a 100644 --- a/agent/conversation_loop.py +++ b/agent/conversation_loop.py @@ -1318,13 +1318,6 @@ def run_conversation( return agent._interruptible_streaming_api_call( next_api_kwargs, on_first_delta=_stop_spinner ) - from agent.chat_completion_helpers import ( - direct_api_call, - should_use_direct_api_call, - ) - - if should_use_direct_api_call(agent): - return direct_api_call(agent, next_api_kwargs) return agent._interruptible_api_call(next_api_kwargs) from hermes_cli.middleware import run_llm_execution_middleware