diff options
Diffstat (limited to 'packages/tui/internal/components')
| -rw-r--r-- | packages/tui/internal/components/chat/editor.go | 2 | ||||
| -rw-r--r-- | packages/tui/internal/components/chat/message.go | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/tui/internal/components/chat/editor.go b/packages/tui/internal/components/chat/editor.go index a51f158ce..38a579057 100644 --- a/packages/tui/internal/components/chat/editor.go +++ b/packages/tui/internal/components/chat/editor.go @@ -500,7 +500,7 @@ func (m *editorComponent) SubmitBash() (tea.Model, tea.Cmd) { updated, cmd := m.Clear() m = updated.(*editorComponent) cmds = append(cmds, cmd) - cmds = append(cmds, util.CmdHandler(app.SendBash{Command: command})) + cmds = append(cmds, util.CmdHandler(app.SendShell{Command: command})) return m, tea.Batch(cmds...) } diff --git a/packages/tui/internal/components/chat/message.go b/packages/tui/internal/components/chat/message.go index c80c08770..188dfee87 100644 --- a/packages/tui/internal/components/chat/message.go +++ b/packages/tui/internal/components/chat/message.go @@ -687,6 +687,8 @@ func renderToolDetails( func renderToolName(name string) string { switch name { + case "bash": + return "Shell" case "webfetch": return "Fetch" case "invalid": |
