mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
fix: 获取模型列表时未传递version参数
This commit is contained in:
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user