修改模型名称
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user