diff --git a/deploy/llm_prompt.py b/deploy/llm_prompt.py index 214046a..ddcdd07 100644 --- a/deploy/llm_prompt.py +++ b/deploy/llm_prompt.py @@ -180,7 +180,7 @@ EDGE-CASES: def _fetch_prompt(role: str) -> dict | None: """Получить активный промпт из БД. Возвращает {id, body} или None.""" try: - with httpx.Client(http2=True, timeout=10, verify=False) as client: + with httpx.Client(http2=True, timeout=10) as client: resp = client.get( f"{LUCEE_URL}/prompt.cfm", params={"action": "get_active", "role": role}, diff --git a/deploy/services/classify.py b/deploy/services/classify.py index 1bb5866..936b8fb 100644 --- a/deploy/services/classify.py +++ b/deploy/services/classify.py @@ -40,7 +40,7 @@ def _call_llm_classify(header_text): "max_tokens": 1000, "temperature": 0.1, } - with httpx.Client(http2=True, timeout=60, verify=False) as client: + with httpx.Client(http2=True, timeout=60) as client: resp = client.post( LLM_URL, json=payload, headers={"Authorization": f"Bearer {LLM_KEY}", "Content-Type": "application/json"},