fix: 获取模型列表时未传递version参数

This commit is contained in:
RockChinQ
2024-03-16 22:23:02 +08:00
parent 9c32420a95
commit 0cfb8bb29f

View File

@@ -53,6 +53,10 @@ class ModelManager:
async with session.request(
method="GET",
url=FETCH_MODEL_LIST_URL,
# 参数
params={
"version": self.ap.ver_mgr.get_current_version()
},
) as resp:
model_list = (await resp.json())['data']['list']