mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-04-02 17:32:39 +00:00
Add SSL verification
This commit is contained in:
parent
7e4594e08d
commit
73be53d4bd
@ -120,7 +120,7 @@ class AzureOpenAIProvider(LLMProvider):
|
||||
)
|
||||
|
||||
try:
|
||||
async with httpx.AsyncClient(timeout=60.0) as client:
|
||||
async with httpx.AsyncClient(timeout=60.0, verify=True) as client:
|
||||
response = await client.post(url, headers=headers, json=payload)
|
||||
if response.status_code != 200:
|
||||
return LLMResponse(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user