fix(onboarding): replace broken LLM config step with streamlined welc…#80
Open
tian202611 wants to merge 1 commit into
Open
fix(onboarding): replace broken LLM config step with streamlined welc…#80tian202611 wants to merge 1 commit into
tian202611 wants to merge 1 commit into
Conversation
…ome flow The onboarding page's LlmConfigurationStep calls removed backend API endpoints (/api/config/provider, /api/config/test-connection), causing users to be stuck in an infinite loop — unable to configure their LLM provider and thus never able to enter the main interface. This fix: 1. Rewrites Onboarding.tsx as a concise welcome page with a 3-step quick start guide, guiding users to configure their LLM provider in Settings instead. 2. Fixes the /api/user/complete-onboarding endpoint to persist the completion flag to the database. 3. Updates /api/user/onboarding-status to check both the DB flag and the YAML config for backwards compatibility. 4. Removes the now-unused LlmConfigurationStep.tsx. Users can now enter the main interface immediately and configure their model provider in Settings at any time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…ome flow
The onboarding page's LlmConfigurationStep calls removed backend API endpoints (/api/config/provider, /api/config/test-connection), causing users to be stuck in an infinite loop — unable to configure their LLM provider and thus never able to enter the main interface.
This fix:
Users can now enter the main interface immediately and configure their model provider in Settings at any time.