From 60bcb9848d0a72f0b5b9ce2a5bce7b735f334efc Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Mon, 28 Jul 2025 13:44:45 -0300 Subject: [PATCH] fix(onboarding): fix "no model selected" error showing after onboarding (#316) --- internal/tui/components/chat/splash/splash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/tui/components/chat/splash/splash.go b/internal/tui/components/chat/splash/splash.go index 4c139d7ea4236feed33998d41535a68842778b1e..8cf4cce493d1bd33ca3c9d1d66de8bd1a07ad8f4 100644 --- a/internal/tui/components/chat/splash/splash.go +++ b/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()