Skip to content

Conversation

@lp1018
Copy link
Contributor

@lp1018 lp1018 commented Dec 25, 2025

Add a toggle switch in the model configuration dialog to allow users to display models that haven't been validated. This helps users who work with model providers that have disabled their verification endpoints.

Changes:

  • Add showUnvalidatedModels field to MultiModelConfig type
  • Add setShowUnvalidatedModels method to useModelConfig hook
  • Add Switch toggle in model-config-dialog footer
  • Update model-selector to filter based on showUnvalidatedModels setting
  • Add warning icon for unvalidated models in the selector
  • Add i18n translations for en/zh/ja

Closes #410

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

@vercel
Copy link

vercel bot commented Dec 25, 2025

Someone is attempting to deploy a commit to the dayuanjiang's projects Team on Vercel.

A member of the Team first needs to authorize it.

@lp1018 lp1018 force-pushed the feat/show-unvalidated-models branch from bcbd4a8 to fc63f50 Compare December 25, 2025 12:02
@vercel
Copy link

vercel bot commented Dec 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
next-ai-draw-io Error Error Dec 25, 2025 1:57pm

@DayuanJiang
Copy link
Owner

@lp1018 Thanks for the contribution, could you check the failed check tasks and fix them?

@lp1018
Copy link
Contributor Author

lp1018 commented Dec 25, 2025

@lp1018 Thanks for the contribution, could you check the failed check tasks and fix them?

okay,tomorrow i'll check and fix it

lp1018 and others added 2 commits December 26, 2025 09:52
Add a toggle switch in the model configuration dialog to allow users to
display models that haven't been validated. This helps users who work with
model providers that have disabled their verification endpoints.

Changes:
- Add showUnvalidatedModels field to MultiModelConfig type
- Add setShowUnvalidatedModels method to useModelConfig hook
- Add Switch toggle in model-config-dialog footer
- Update model-selector to filter based on showUnvalidatedModels setting
- Add warning icon for unvalidated models in the selector
- Add i18n translations for en/zh/ja

Closes DayuanJiang#410

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The AlertTriangle icon from lucide-react doesn't support the title prop directly.
Wrapped it in a span element to properly display the tooltip.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@lp1018 lp1018 force-pushed the feat/show-unvalidated-models branch from fc63f50 to 3351b9e Compare December 26, 2025 02:01
@lp1018
Copy link
Contributor Author

lp1018 commented Dec 26, 2025

@DayuanJiang Hi, looks like there's a Vercel account issue on your end ("Account is blocked"). The CI checks all pass locally on my side, and the fix has already been pushed.

@DayuanJiang DayuanJiang merged commit 31644db into DayuanJiang:main Dec 26, 2025
3 of 6 checks passed
@DayuanJiang
Copy link
Owner

@lp1018 Thanks for the fix. Merged.

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.

[feature]Add toggle to show unvalidated models in model selector

2 participants