on main help sign in
chore: update error message, this is not user fault
0798844Andrey Nering
internal/tui/page/chat/chat.go+1−1
@@ -697,7 +697,7 @@ func (p *chatPage) sendMessage(text string, attachments []message.Attachment) te
697 cmds = append(cmds, util.CmdHandler(chat.SessionSelectedMsg(session)))
697 cmds = append(cmds, util.CmdHandler(chat.SessionSelectedMsg(session)))
698 }
698 }
699 if p.app.CoderAgent == nil {
699 if p.app.CoderAgent == nil {
700− return util.ReportError(fmt.Errorf("coder agent is not initialized - please check your configuration"))
700+ return util.ReportError(fmt.Errorf("coder agent is not initialized"))
701 }
701 }
702 _, err := p.app.CoderAgent.Run(context.Background(), session.ID, text, attachments...)
702 _, err := p.app.CoderAgent.Run(context.Background(), session.ID, text, attachments...)
703 if err != nil {
703 if err != nil {