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:
Michael Liu 2026-03-23 15:37:36 +00:00 committed by GitHub
parent 7064884b4f
commit b0754b3e39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ def check_copilot_auth() -> bool:
)
return resp.status_code == 200
except requests.exceptions.RequestException:
return True # Network error — accept optimistically
return False # Network error should be treated as an auth failure
class NormalizedChatOpenAI(ChatOpenAI):