feat(models): 增加模型显示名重命名 (#614)
* feat(models): add WUI model display aliases Persist display-only model aliases in Web UI app config, surface them in the model selector/search, and keep canonical model IDs for Hermes calls. * fix(models): improve WUI model alias editing * fix(models): clarify unlisted model picker * fix(models): scope aliases to providers
This commit is contained in:
@@ -15,9 +15,9 @@ const showModal = ref(false)
|
||||
|
||||
onMounted(async () => {
|
||||
// 先 invalidate 后端 copilot 缓存(gh logout / VS Code 退出后下一次 list 立刻反映),
|
||||
// 再拉 providers。check-token 失败不阻断。
|
||||
// 再拉 providers 与 appStore 的模型显示名配置。check-token 失败不阻断。
|
||||
try { await checkCopilotToken() } catch { /* ignore */ }
|
||||
modelsStore.fetchProviders()
|
||||
await Promise.all([modelsStore.fetchProviders(), appStore.loadModels()])
|
||||
})
|
||||
|
||||
function openCreateModal() {
|
||||
|
||||
Reference in New Issue
Block a user