feat: toggle tool details visible

This commit is contained in:
adamdotdevin
2025-08-11 11:58:40 -05:00
parent 3c71fda648
commit 5e777fd2a2
8 changed files with 103 additions and 58 deletions

View File

@@ -1142,6 +1142,13 @@ func (a Model) executeCommand(command commands.Command) (tea.Model, tea.Cmd) {
}
cmds = append(cmds, util.CmdHandler(chat.ToggleToolDetailsMsg{}))
cmds = append(cmds, toast.NewInfoToast(message))
case commands.ThinkingBlocksCommand:
message := "Thinking blocks are now visible"
if a.messages.ThinkingBlocksVisible() {
message = "Thinking blocks are now hidden"
}
cmds = append(cmds, util.CmdHandler(chat.ToggleThinkingBlocksMsg{}))
cmds = append(cmds, toast.NewInfoToast(message))
case commands.ModelListCommand:
modelDialog := dialog.NewModelDialog(a.app)
a.modal = modelDialog