fix(llm): verify=False — сертификат aillm.ru истёк Jun 14 07:00 GMT
notAfter=Jun 14 07:00:43 2026 GMT (сегодня утром)
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ def ask(prompt: str, model: str = None, max_tokens: int = 8000) -> dict:
|
|||||||
}
|
}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with httpx.Client(http2=True, timeout=120) as client:
|
with httpx.Client(http2=True, timeout=120, verify=False) as client:
|
||||||
resp = client.post(api_url, json=payload, headers=headers)
|
resp = client.post(api_url, json=payload, headers=headers)
|
||||||
resp.raise_for_status()
|
resp.raise_for_status()
|
||||||
data = resp.json()
|
data = resp.json()
|
||||||
|
|||||||
Reference in New Issue
Block a user