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
7064884b4f
commit
b0754b3e39
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue