diff --git a/internal/ui/model/ui.go b/internal/ui/model/ui.go index 0f5dfecad68c00659b4c13ddd2c632844fd6e9da..6072c4292c07aebbd92a1329944bc20b9826bb48 100644 --- a/internal/ui/model/ui.go +++ b/internal/ui/model/ui.go @@ -579,6 +579,8 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd { break } + // TODO: Validate model API and authentication here? + cfg := m.com.Config() if cfg == nil { cmds = append(cmds, uiutil.ReportError(errors.New("configuration not found")))