The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(agent): _should_stream keys ACP on the provider profile, not one vendor's name
satoshi2f696878891a
diff --git a/agent/turn_api_call.py b/agent/turn_api_call.pyindex d8e14a891c3..eea1a42c897 100644--- a/agent/turn_api_call.py+++ b/agent/turn_api_call.py@@ -46,12 +46,15 @@ class ApiCallVerdict:def _should_stream(agent: Any) -> bool:"""Streaming is preferred even without consumers (stale-stream / read-timeout health- checks); disabled on provider signal, ACP schemes, MoA without a display consumer, or- Mock clients in tests (SimpleNamespace, not stream iterators)."""+ checks); disabled on provider signal, ACP providers (``acp://`` scheme or an+ external-process provider profile), MoA without a display consumer, or Mock clients in+ tests (SimpleNamespace, not stream iterators)."""if getattr(agent, "_disable_streaming", False):return False_base = str(agent.base_url or "").lower()- if agent.provider in {"copilot-acp"} or _base.startswith(("acp://", "acp+tcp://")):+ from hermes_cli.runtime_provider_backends import _is_external_process_provider++ if _base.startswith(("acp://", "acp+tcp://")) or _is_external_process_provider(agent.provider):return Falseif not agent._has_stream_consumers():if agent.provider == "moa":