mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
improve status message handling
This commit is contained in:
parent
57a2210d8d
commit
f463ce6694
10 changed files with 140 additions and 84 deletions
|
|
@ -140,7 +140,7 @@ func (m *editorCmp) Send() tea.Cmd {
|
|||
return func() tea.Msg {
|
||||
messages, _ := m.app.Messages.List(m.sessionID)
|
||||
if hasUnfinishedMessages(messages) {
|
||||
return util.InfoMsg("Assistant is still working on the previous message")
|
||||
return util.ReportWarn("Assistant is still working on the previous message")
|
||||
}
|
||||
a, _ := agent.NewCoderAgent(m.app)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue