diff options
| author | adamdottv <[email protected]> | 2025-05-12 09:59:57 -0500 |
|---|---|---|
| committer | adamdottv <[email protected]> | 2025-05-12 09:59:57 -0500 |
| commit | 17c5b9c12cc685d8a8ee487b69f85aa80cadefe8 (patch) | |
| tree | 2c899d5f446ce88e5341ae7a8e1897b3cebbeadc | |
| parent | 1f8580553c95e46bd478550f0a4fe17a2d039ddc (diff) | |
| download | opencode-17c5b9c12cc685d8a8ee487b69f85aa80cadefe8.tar.gz opencode-17c5b9c12cc685d8a8ee487b69f85aa80cadefe8.zip | |
fix: build
| -rw-r--r-- | internal/tui/page/chat.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/tui/page/chat.go b/internal/tui/page/chat.go index 14c514278..b4984c511 100644 --- a/internal/tui/page/chat.go +++ b/internal/tui/page/chat.go @@ -68,10 +68,11 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) { case dialog.CommandRunCustomMsg: // Check if the agent is busy before executing custom commands if p.app.CoderAgent.IsBusy() { - return p, util.ReportWarn("Agent is busy, please wait before executing a command...") + status.Warn("Agent is busy, please wait before executing a command...") + return p, nil } // Handle custom command execution - cmd := p.sendMessage(msg.Content) + cmd := p.sendMessage(msg.Content, nil) if cmd != nil { return p, cmd } |
