From d8d53661d9e77c961563c19a13c11be7cc8f9e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Wed, 15 Jul 2026 12:13:08 +0400 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20http2=3DTrue=20=E2=80=94=20h2?= =?UTF-8?q?=20package=20not=20installed=20on=20=D0=A8=D1=82=D1=83=D1=80?= =?UTF-8?q?=D0=B2=D0=B0=D0=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/routes/api_bp.py | 2 +- site/services/llm_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/site/routes/api_bp.py b/site/routes/api_bp.py index 6d7fae2..0323e16 100644 --- a/site/routes/api_bp.py +++ b/site/routes/api_bp.py @@ -151,7 +151,7 @@ def chat(): ) try: - with httpx.Client(http2=True, timeout=120) as client: + with httpx.Client(timeout=120) as client: resp = client.post( LLM_URL, json={ diff --git a/site/services/llm_client.py b/site/services/llm_client.py index b8a4e53..ba4da27 100644 --- a/site/services/llm_client.py +++ b/site/services/llm_client.py @@ -36,7 +36,7 @@ class HttpxLLMClient: "max_tokens": self.max_tokens, "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( self.url, json=payload,