diff --git a/internal/tui/components/chat/editor/editor.go b/internal/tui/components/chat/editor/editor.go index 1d16aecd28b52a038e8368e9b1ccb58c19f27260..4da6ec84e56e2350f846e777175ab503d3f77437 100644 --- a/internal/tui/components/chat/editor/editor.go +++ b/internal/tui/components/chat/editor/editor.go @@ -200,6 +200,7 @@ func (m *editorCmp) Update(msg tea.Msg) (util.Model, tea.Cmd) { msgs, err := m.getUserMessagesAsText() if err != nil { // TODO(tauraamui): handle error for loading history better in the UI later + panic(err) } if len(msgs) == 0 { break