mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 21:37:20 +08:00
fix xinference manager bug
This commit is contained in:
parent
0abb5a1f9d
commit
d71c9b0a27
@ -137,7 +137,7 @@ model_format = None
|
||||
model_quant = None
|
||||
|
||||
if model_type == "LLM":
|
||||
cur_family = xf_llm.LLMFamilyV1.model_validate(cur_reg)
|
||||
cur_family = xf_llm.LLMFamilyV1.parse_obj(cur_reg)
|
||||
cur_spec = None
|
||||
model_formats = []
|
||||
for spec in cur_reg["model_specs"]:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user