on main help sign in
fix(onboarding): fix "no model selected" error showing after onboarding (#316)
60bcb98Andrey Nering
internal/tui/components/chat/splash/splash.go+1−1
@@ -316,7 +316,7 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
316
316
317func (s *splashCmp) saveAPIKeyAndContinue(apiKey string) tea.Cmd {
317func (s *splashCmp) saveAPIKeyAndContinue(apiKey string) tea.Cmd {
318 if s.selectedModel == nil {
318 if s.selectedModel == nil {
319− return util.ReportError(fmt.Errorf("no model selected"))
319+ return nil
320 }
320 }
321
321
322 cfg := config.Get()
322 cfg := config.Get()