From 669070c02d7a12af93481adb9b4ad0d57ad817e7 Mon Sep 17 00:00:00 2001 From: TheSongg <145535169+TheSongg@users.noreply.github.com> Date: Tue, 14 Jan 2025 16:14:47 +0800 Subject: [PATCH] Update xinference.py --- libs/community/langchain_community/llms/xinference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/community/langchain_community/llms/xinference.py b/libs/community/langchain_community/llms/xinference.py index 8a6cb2ee56d04..2ab598ddf18e2 100644 --- a/libs/community/langchain_community/llms/xinference.py +++ b/libs/community/langchain_community/llms/xinference.py @@ -81,7 +81,7 @@ class Xinference(LLM): """ # noqa: E501 - client: Any + client: Optional[Any] = None server_url: Optional[str] """URL of the xinference server""" model_uid: Optional[str]