feat(stage-pages): add model selection navigation after provider validation#1214
Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly improves the user experience for LLM provider onboarding by streamlining the post-validation process. Instead of requiring manual navigation, users are now guided directly from a successful provider setup to the model selection interface, ensuring a smoother and more intuitive workflow for configuring chat functionalities. Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces a helpful navigation button to guide users to model selection after successfully validating a provider. The implementation is clean and follows existing project patterns. I've added one suggestion to make the navigation logic more robust by handling potential errors during routing.
⏳ Approval required for deploying to Cloudflare Workers (Preview) for stage-web.
Hey, @nekomeowww, @sumimakito, @luoling8192, @LemonNekoGH, kindly take some time to review and approve this deployment when you are available. Thank you! 🙏 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Description
After configuring an LLM provider (entering API key/base URL) and seeing validation success, users have no clear path to select a model — making chat unusable until they manually find the consciousness module settings page.
This adds a "Select Model →" button inside the validation success alert that:
activeProviderin the consciousness storeMinimal change — no new components, just wiring existing stores (
useConsciousnessStore) and a router push.Changes
packages/stage-pages/src/pages/settings/providers/chat/[providerId].vue— Import consciousness store, addgoToModelSelection()function and button in success alertpackages/i18n/src/locales/*/settings.yaml(9 locales) — AddgoToModelSelectioni18n keyLinked Issues
Related to the provider onboarding flow (#1058, #1144)
Additional Context
watch(activeProvider, ..., { immediate: true })that auto-loads models, so settingactiveProvider+ navigating is all that's neededmarkProviderAdded()is already called inuseProviderValidationon success (PR fix(stage-ui): auto-mark provider as added after successful validation on settings page #1144), so the provider appears in the consciousness provider list:classarray pattern with dark mode variants per project conventions (AGENTS.md)pnpm dev:web) and iOS Capacitor (pnpm dev:pocket:ios)