From 5edfecef302ba28cadcb239253332aa75f8af519 Mon Sep 17 00:00:00 2001 From: wanyaokun <12345678> Date: Tue, 10 Sep 2024 15:07:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A8=A1=E5=9E=8B=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/engine/model/xinference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/engine/model/xinference.py b/backend/app/engine/model/xinference.py index 18f475a..65cafb3 100644 --- a/backend/app/engine/model/xinference.py +++ b/backend/app/engine/model/xinference.py @@ -19,7 +19,7 @@ from llama_index.llms.xinference.utils import ( xinference_modelname_to_contextsize, ) -class XinfengModel(Xinference): +class XinferenceModel(Xinference): @llm_chat_callback() def chat(self, messages: Sequence[ChatMessage], **kwargs: Any) -> ChatResponse: msgs = []