small fix

pull/557/head v0.0.42
Kujtim Hoxha 2025-05-09 16:37:02 +02:00
parent a58e607c5f
commit 5307100f89
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ func (p *chatPage) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return p, util.ReportWarn("Agent is busy, please wait before executing a command...")
}
// Handle custom command execution
cmd := p.sendMessage(msg.Content)
cmd := p.sendMessage(msg.Content, nil)
if cmd != nil {
return p, cmd
}