@@ -410,7 +410,7 @@ func (m *editorCmp) randomizePlaceholders() {
410func (m *editorCmp) View() string {
410func (m *editorCmp) View() string {
411 t := styles.CurrentTheme()
411 t := styles.CurrentTheme()
412 // Update placeholder
412 // Update placeholder
413− if m.app.CoderAgent.IsBusy() {
413+ if m.app.CoderAgent != nil && m.app.CoderAgent.IsBusy() {
414 m.textarea.Placeholder = m.workingPlaceholder
414 m.textarea.Placeholder = m.workingPlaceholder
416 m.textarea.Placeholder = m.readyPlaceholder
416 m.textarea.Placeholder = m.readyPlaceholder