Conversation
amitdhiman5086
commented
Mar 2, 2026
… remove search functionality
|
Deployment failed with the following error: View Documentation: https://vercel.com/docs/accounts/team-members-and-roles |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
sdk-nextjs | cf5bd2e | Mar 02 2026, 11:00 AM |
There was a problem hiding this comment.
Pull request overview
This PR updates the AI panel’s public surface and defaults by exporting the AI panel component, switching the default model to Gemini 3 Flash, and simplifying the model picker UI by removing model search.
Changes:
- Set
google/gemini-3-flashas the default AI model (with fallback to the first configured model). - Remove search/filtering UI from the model selector dropdown and adjust its layout.
- Export
ChaiAiPanelfrom the package entrypoint (src/pages/index.ts).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/pages/panels/ai-panel/models.ts | Updates the default model selection logic to prefer google/gemini-3-flash. |
| src/pages/panels/ai-panel/model-selector-dropdown.tsx | Removes the search input and filtering; presents a grouped list of models with a new header/layout. |
| src/pages/index.ts | Exposes the AI panel as a public export (ChaiAiPanel). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <ModelSelectorContent className="w-96 p-0"> | ||
| <ModelSelectorInput placeholder="Search models..." value={search} onValueChange={setSearch} /> | ||
|
|
||
| <h3 className="mt-2 px-2 py-2 font-semibold">Models</h3> | ||
| <ModelSelectorList> |
There was a problem hiding this comment.
Removing the search input means the dialog no longer has an obvious initial focus target; Radix Dialog will likely focus the close button, which makes keyboard navigation/selection of models awkward. Consider explicitly moving focus to the Command root/list (e.g., via ModelSelectorContent onOpenAutoFocus or a ref + focus() when opening) so arrow keys work immediately without a search field.
…e-export in `index.ts`
Deploying sdk with
|
| Latest commit: |
cf5bd2e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8094b4cc.sdk-8n4.pages.dev |
| Branch Preview URL: | https://ai-models.sdk-8n4.pages.dev |