The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(copilot-acp): token-store evidence degrades to the binary check without the copilot plugin
Teknium76f4e58ca27a
diff --git a/plugins/model-providers/copilot-acp/__init__.py b/plugins/model-providers/copilot-acp/__init__.pyindex c2138f9dd52..ab9ca16b881 100644--- a/plugins/model-providers/copilot-acp/__init__.py+++ b/plugins/model-providers/copilot-acp/__init__.py@@ -15,10 +15,13 @@ from providers.base import ProviderProfileclass CopilotACPProfile(ProviderProfile):"""GitHub Copilot ACP — external process, no REST models endpoint."""- def external_auth_evidence(self) -> tuple[bool, str | None]:- """The Copilot CLI's token stores, read without spawning it."""- from plugins.model_providers.copilot.credentials import copilot_cli_auth_evidence-+ def external_auth_evidence(self) -> tuple[bool, str | None] | None:+ """The Copilot CLI's token stores, read without spawning it; None (binary check) without the+ copilot plugin that owns the token rules."""+ try:+ from plugins.model_providers.copilot.credentials import copilot_cli_auth_evidence+ except ImportError:+ return Nonereturn copilot_cli_auth_evidence()def create_client(self, **client_kwargs: Any) -> Any: