From d38d5e2ecb91d7b210376f3fbf471587f333c625 Mon Sep 17 00:00:00 2001 From: Michael Liu <34015028+ljxw88@users.noreply.github.com> Date: Mon, 23 Mar 2026 15:19:04 +0000 Subject: [PATCH] Update tradingagents/llm_clients/copilot_client.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- tradingagents/llm_clients/copilot_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tradingagents/llm_clients/copilot_client.py b/tradingagents/llm_clients/copilot_client.py index fb9db988..845b9f4b 100644 --- a/tradingagents/llm_clients/copilot_client.py +++ b/tradingagents/llm_clients/copilot_client.py @@ -110,7 +110,7 @@ def check_copilot_auth() -> bool: timeout=5, ) return resp.status_code == 200 - except Exception: + except requests.exceptions.RequestException: return True # Network error — accept optimistically