Skip to content

feat(models): 模型发现支持取消全选,模型目录支持清空 - #158

Open
skynit wants to merge 1 commit into
DSH-APP:mainfrom
skynit:codex/model-catalog-actions
Open

skynit wants to merge 1 commit into
DSH-APP:mainfrom
skynit:codex/model-catalog-actions

Conversation

@skynit

@skynit skynit commented Oct 15, 2026 •

Copy link
Copy Markdown

改动

  • 获取可用模型的选择弹窗增加全选复选框,可取消全部勾选,单项变化会同步全选状态。
  • 模型目录增加删除所有模型,二次确认后仅清空当前服务商草稿,保存并同步后才写入配置;新建自定义服务商仍要求至少一个模型。
  • 在现有测试文件中覆盖草稿隔离、显式空目录保存及自定义服务商校验。

验证

  • DSHA_ONLY=ModelSetupDraftTest,ModelConfigurationTest python3 tools/run-unit-tests.py:2 个测试类、14 项通过(纯 Java 后备验证,非 Android 构建)。
  • git diff --cached --check:通过。

仅包含源码和测试,不包含 APK、离线资产或本机资料。

@skynit
skynit force-pushed the codex/model-catalog-actions branch from ecbed74 to 61bb0e9 Compare October 15, 2026 03:15
@skynit skynit changed the title 模型配置:支持取消全选和清空当前服务商模型目录 feat(models): 模型发现支持取消全选,模型目录支持清空 Oct 15, 2026
@skynit
skynit marked this pull request as ready for review October 15, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant