Commit 2f7457fb by Sixong.Zhu

update

parent 20e30833
Showing with 2 additions and 2 deletions
......@@ -37,9 +37,9 @@ export async function getChatModelInfo(
forceReload = false
) {
buildCache();
const key = `${modelName}-${id}`;
const detail = model2DetailNameMapping.get(modelName) || detailname;
const detail = detailname ? model2DetailNameMapping.get(modelName) || detailname : detailname;
const key = `${modelName}-${id}-${detail}`;
if (loadingKeys.has(key)) {
return new Promise<ChatModelInfoData>((resolve) =>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment