Skip to content

fix: 模型开关导致提供商显示关闭#96

Merged
lehhair merged 0 commit into
lehhair:mainfrom
dingyi222666:fix/model-toggle-provider-visibility
May 17, 2026
Merged

fix: 模型开关导致提供商显示关闭#96
lehhair merged 0 commit into
lehhair:mainfrom
dingyi222666:fix/model-toggle-provider-visibility

Conversation

@dingyi222666
Copy link
Copy Markdown
Contributor

变更内容

  • 将模型设置里的提供商开关状态改为:只要该提供商下仍有模型可见,就保持开启状态
  • 修复关闭单个模型后,提供商开关也看起来被关闭的问题
  • 补充回归测试,覆盖部分模型隐藏时提供商开关仍为开启

验证

  • npm run test:run -- src/features/settings/components/ModelsSettings.test.tsx
  • npm run typecheck

@dingyi222666 dingyi222666 changed the title 修复模型开关导致提供商显示关闭 fix: 模型开关导致提供商显示关闭 May 17, 2026
@lehhair lehhair merged commit 8c61e1d into lehhair:main May 17, 2026
1 check passed
lehhair added a commit that referenced this pull request May 17, 2026
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.

2 participants