fix(cron): keep inline dispatch behind the agent call seam

This commit is contained in:
kshitijk4poor 2026-07-11 02:58:47 +05:30 committed by kshitij
parent 5c5dd6b7ec
commit 8acac440f4

View file

@ -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