From e76a6742bed2896299a91a426b3093aec4e900a6 Mon Sep 17 00:00:00 2001 From: Michael Liu <34015028+ljxw88@users.noreply.github.com> Date: Mon, 23 Mar 2026 14:52:49 +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 541cfee5..8d2005be 100644 --- a/tradingagents/llm_clients/copilot_client.py +++ b/tradingagents/llm_clients/copilot_client.py @@ -67,7 +67,7 @@ def _get_copilot_api_url() -> str: api = resp.json()["data"]["viewer"]["copilotEndpoints"]["api"] if api: return api.rstrip("/") - except Exception: + except requests.exceptions.RequestException: pass return "https://api.individual.githubcopilot.com"