The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: keep Copilot ACP fallbacks on chat completions
Scott Glover9bb0c4a40f42
diff --git a/run_agent.py b/run_agent.pyindex 6165032effc..12249ae0286 100644--- a/run_agent.py+++ b/run_agent.py@@ -670,6 +670,16 @@ class AIAgent(# may relay GPT-5 without full Responses semantics — only direct OpenAI/xAI URLs auto-upgrade.if normalized_provider in ("nous", "custom") or is_actual_route(provider):return False+ # The Copilot ACP facade deliberately exposes the OpenAI-compatible+ # chat.completions shape regardless of model family. It has no+ # ``responses`` attribute, so GPT-5 fallback routing must not upgrade+ # it to codex_responses.+ if normalized_provider in {+ "copilot-acp",+ "github-copilot-acp",+ "copilot-acp-agent",+ }:+ return Falseif normalized_provider == "copilot":try:from hermes_cli.models import _should_use_copilot_responses_api