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"