Update tradingagents/llm_clients/copilot_client.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
ee1c3a69ee
commit
e76a6742be
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue