From f2ba981f760cdd6ae6d4097f1242f2e894df6928 Mon Sep 17 00:00:00 2001 From: panyehong <2655992392@qq.com> Date: Thu, 11 Jun 2026 19:18:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Bugfix:=20Fixed=20an=20issue=20w?= =?UTF-8?q?here=20the=20MCP=20service=20could=20not=20be=20added=20correct?= =?UTF-8?q?ly=20after=20updating=20the=20FastMCP=20version.=20[Specificati?= =?UTF-8?q?on=20Details]=201.=20Add=20`kwargs`=20to=20the=20`create=5Fhttp?= =?UTF-8?q?x=5Fclient`=20function=20to=20accept=20all=20additional=20param?= =?UTF-8?q?eters.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/utils/http_client_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/utils/http_client_utils.py b/backend/utils/http_client_utils.py index 1c1d14af6..262c0a593 100644 --- a/backend/utils/http_client_utils.py +++ b/backend/utils/http_client_utils.py @@ -8,6 +8,7 @@ def create_httpx_client( headers: dict[str, str] | None = None, timeout: httpx.Timeout | None = None, auth: httpx.Auth | None = None, + **kwargs, ) -> AsyncClient: return AsyncClient( headers=headers, @@ -15,4 +16,5 @@ def create_httpx_client( auth=auth, trust_env=False, verify=False, + **kwargs, )