@@ -286,12 +286,12 @@ func (m *APIKeyInput) verifyAPIKey() tea.Msg {
286 return ActionChangeAPIKeyState{APIKeyInputStateError}
286 return ActionChangeAPIKeyState{APIKeyInputStateError}
289−func (m *APIKeyInput) saveKeyAndContinue() tea.Msg {
289+func (m *APIKeyInput) saveKeyAndContinue() Action {
290 cfg := m.com.Config()
290 cfg := m.com.Config()
292 err := cfg.SetProviderAPIKey(string(m.provider.ID), m.input.Value())
292 err := cfg.SetProviderAPIKey(string(m.provider.ID), m.input.Value())
293 if err != nil {
293 if err != nil {
294− return uiutil.ReportError(fmt.Errorf("failed to save API key: %w", err))
294+ return ActionCmd{uiutil.ReportError(fmt.Errorf("failed to save API key: %w", err))}
297 return ActionSelectModel{
297 return ActionSelectModel{