on main help sign in
chore(ui): add TODO for model API and auth validation
4e541e1Ayman Bagabas
internal/ui/model/ui.go+2
@@ -579,6 +579,8 @@ func (m *UI) handleKeyPressMsg(msg tea.KeyPressMsg) tea.Cmd {
579 break
579 break
580 }
580 }
581
581
582+ // TODO: Validate model API and authentication here?
583+
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")))