修改模型名称

This commit is contained in:
wanyaokun
2024-09-10 15:07:16 +08:00
parent f4b1f40173
commit 5edfecef30
+1 -1
View File
@@ -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 = []