v1.0.176: remove verify=False — MITM fix
This commit is contained in:
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user