Skip to content

fix(onboarding): replace broken LLM config step with streamlined welc…#80

Open
tian202611 wants to merge 1 commit into
OpenBMB:mainfrom
tian202611:fix/onboarding-llm-config-flow
Open

fix(onboarding): replace broken LLM config step with streamlined welc…#80
tian202611 wants to merge 1 commit into
OpenBMB:mainfrom
tian202611:fix/onboarding-llm-config-flow

Conversation

@tian202611
Copy link
Copy Markdown

…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.

…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant