Skip to content

feat(ai): model directory, provider presets, and responsive modals #885

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 7, 2025

Conversation

chhoumann
Copy link
Owner

Summary

  • Model Directory: browse/filter and multi-select models from models.dev; add-only or replace import modes; notices and error handling
  • Provider Picker: preset cards for common providers; API key field with validation; one-click Connect; custom provider
  • Auto-sync models: toggle per provider and Sync now button
  • Responsive UX: wider modals, mobile-friendly grids; AI Assistant settings modal now responsive
  • Docs updated for presets, model browsing/import, and auto-sync

Test plan

  • Open AI Assistant settings → Add Provider: verify preset cards, full-width key input, validation, mobile layout
  • Edit a provider → Browse models: search, select, import (add/replace), notices on empty or failure
  • Test Auto-sync toggle and Sync now
  • Confirm AI Assistant settings modal uses responsive sizing
  • Build + tests pass}

- Add models.dev fetcher with caching and endpoint mapping
- Provider editor: Import models button + Auto-sync toggle and Sync now
- Extend provider type with autoSyncModels flag
- Full-screen modal to search and multi-select models from models.dev per provider
- Supports add-only or replace import modes with user confirmation
- Integrated into provider editor
- New ProviderPickerModal with common providers (OpenAI, Gemini, Groq, Together, OpenRouter, etc.)
- One-click add via Connect with API key and prefilled endpoint
- Integrated into AI Assistant settings (Add Provider)
- Increase modal max width, responsive grid and heights
- Improve mobile layout (single-column cards, taller content area)
- Document provider picker workflow and custom provider option
- Add section on browsing/importing models and auto-sync from models.dev
…tices

- Provider picker: stack API key and Connect; full-width input; validate endpoint and key presence; friendly error notices
- Model directory: guard empty selection and wrap import in try/catch with notices
- Match sizing with provider/model modals (max-width, viewport-aware height, scrollable content)
Copy link

vercel bot commented Aug 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
quickadd ✅ Ready (Inspect) Visit Preview Aug 7, 2025 11:03pm

@chhoumann chhoumann merged commit a37cf83 into master Aug 7, 2025
2 checks passed
@chhoumann chhoumann deleted the feat/models-directory-import branch August 7, 2025 23:14
Copy link

github-actions bot commented Aug 7, 2025

🎉 This PR is included in version 2.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented Aug 7, 2025

🚀 Release has been published: v2.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant