fix(llm): verify=False — сертификат aillm.ru истёк Jun 14 07:00 GMT

notAfter=Jun 14 07:00:43 2026 GMT (сегодня утром)
This commit is contained in:
2026-06-14 17:13:12 +04:00
parent cb7a729df7
commit 3912dff112
+1 -1
View File
@@ -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()