summaryrefslogtreecommitdiffhomepage
path: root/internal/tui/components/repl/editor.go
diff options
context:
space:
mode:
authorKujtim Hoxha <[email protected]>2025-04-08 20:32:57 +0200
committerGitHub <[email protected]>2025-04-08 20:32:57 +0200
commitfde04bbf85ea641a33a282b354d63f227f9945fb (patch)
tree8b71df5743546e937f5c89977f0f8e0a1814bf56 /internal/tui/components/repl/editor.go
parent124bd57c507fdcbb56ab27137cbe892f12e1b48f (diff)
parent4385fb321903f335097119349aa1ebf9edb3f71a (diff)
downloadopencode-fde04bbf85ea641a33a282b354d63f227f9945fb.tar.gz
opencode-fde04bbf85ea641a33a282b354d63f227f9945fb.zip
Merge pull request #22 from adamdottv/adam/retries
fix(anthropic): better 429/529 handling
Diffstat (limited to 'internal/tui/components/repl/editor.go')
-rw-r--r--internal/tui/components/repl/editor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/tui/components/repl/editor.go b/internal/tui/components/repl/editor.go
index cce966ca7..d3e8d2c78 100644
--- a/internal/tui/components/repl/editor.go
+++ b/internal/tui/components/repl/editor.go
@@ -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)