fix: remove http2=True — h2 package not installed on Штурвал
Deploy contracts-flask / validate (push) Successful in 0s

This commit is contained in:
2026-07-15 12:13:08 +04:00
parent 49dd873db3
commit d8d53661d9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ def chat():
) )
try: try:
with httpx.Client(http2=True, timeout=120) as client: with httpx.Client(timeout=120) as client:
resp = client.post( resp = client.post(
LLM_URL, LLM_URL,
json={ json={
+1 -1
View File
@@ -36,7 +36,7 @@ class HttpxLLMClient:
"max_tokens": self.max_tokens, "max_tokens": self.max_tokens,
"temperature": self.temperature, "temperature": self.temperature,
} }
with httpx.Client(http2=True, timeout=self.timeout, verify=True) as client: with httpx.Client(timeout=self.timeout, verify=True) as client:
resp = client.post( resp = client.post(
self.url, self.url,
json=payload, json=payload,