-
Notifications
You must be signed in to change notification settings - Fork 34
feat: add reload button when model list fails to load #1000
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
base: main
Are you sure you want to change the base?
Conversation
This commit adds a reload functionality to the model selection component: - Shows a reload button when hosted models (Super/Swift) fail to load or are empty - Adds refreshModelList method to vscode host bridge - Implements refresh logic in useModelList hook with loading state - Updates i18n translations for reload button text - Only displays reload button for authenticated users - Button shows spinning animation while refreshing 🤖 Generated with [Pochi](https://getpochi.com) Co-Authored-By: Pochi <[email protected]>
|
fix #984 |
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (0.00%) is below the target coverage (75.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #1000 +/- ##
==========================================
- Coverage 15.90% 15.24% -0.66%
==========================================
Files 576 576
Lines 52884 52679 -205
Branches 1701 1667 -34
==========================================
- Hits 8411 8031 -380
- Misses 44236 44409 +173
- Partials 237 239 +2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Summary
refreshModelListmethod to the vscode host bridge to trigger model list refreshuseModelListhook with loading state managementDemo
https://jam.dev/c/daa7eb4d-63ed-451c-8c3e-329ac933cee8
Test plan
🤖 Generated with Pochi