fix(onboarding): fix "no model selected" error showing after onboarding (#316)

Andrey Nering created

Change summary

internal/tui/components/chat/splash/splash.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

internal/tui/components/chat/splash/splash.go 🔗

@@ -316,7 +316,7 @@ func (s *splashCmp) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 
 func (s *splashCmp) saveAPIKeyAndContinue(apiKey string) tea.Cmd {
 	if s.selectedModel == nil {
-		return util.ReportError(fmt.Errorf("no model selected"))
+		return nil
 	}
 
 	cfg := config.Get()