small fix
This commit is contained in:
@@ -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...")
|
return p, util.ReportWarn("Agent is busy, please wait before executing a command...")
|
||||||
}
|
}
|
||||||
// Handle custom command execution
|
// Handle custom command execution
|
||||||
cmd := p.sendMessage(msg.Content)
|
cmd := p.sendMessage(msg.Content, nil)
|
||||||
if cmd != nil {
|
if cmd != nil {
|
||||||
return p, cmd
|
return p, cmd
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user