2.0 模型设置页与使用页:目录元数据、使用中模型选择、残留清理 - #1051
Merged
Merged
Conversation
模型设置页:新增 settings/models/LocalModelsSection 替换旧 LocalModelSection, 管理看板条目接入 Core 目录元数据快照(displayName / languages / sizeBytes), 基础信息展示不再依赖实时访问 HuggingFace;详情面板新增「清理未完成下载」 (local_asr_cleanup_incomplete,仅在有 staging 残留时出现)。 模型使用页:渠道编辑器本地引擎分支内嵌 LocalModelPicker——直接切换使用中的 模型(qwen/whisper 切换后预载引擎;sherpa/foundry 走各自 set 接口),显示引擎 可用性与残留清理入口;通过 ServicesTab 提供的 LocalModelsNavContext 一键跳到 「服务 → 本地模型」管理页(复用此前闲置的 localAsrManage 文案键)。 八语文案补齐(activeModelLabel / partialDownloads* / cleanupIncomplete / languagesLabel / partialBytesLabel 等 7 键)。tsc 0 错误,前端全套通过。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
承接 #1050 的 2.0 模型页改造(基于合并后的 beta):
settings/models/LocalModelsSection替换旧入口;管理看板条目接入 Core 目录元数据快照(displayName / languages / sizeBytes),基础信息展示不再实时访问 HuggingFace;详情面板对有 staging 残留的模型提供「清理未完成下载」(local_asr_cleanup_incomplete,不触碰已安装模型)。LocalModelPicker——直接切换使用中的模型(qwen/whisper 切换后预载引擎,sherpa/foundry 走各自接口),显示引擎可用性,暴露残留清理;LocalModelsNavContext提供一键跳转「服务 → 本地模型」(复用闲置的 localAsrManage 文案键)。测试