@@ -579,6 +579,8 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
582+ // TODO: Validate model API and authentication here?
582 cfg := m.com.Config()
584 cfg := m.com.Config()
583 if cfg == nil {
585 if cfg == nil {
584 cmds = append(cmds, uiutil.ReportError(errors.New("configuration not found")))
586 cmds = append(cmds, uiutil.ReportError(errors.New("configuration not found")))