Fix: todo_update

This commit is contained in:
Grail Finder
2026-03-01 12:16:17 +03:00
parent dc34c63256
commit f6a395bce9
2 changed files with 17 additions and 4 deletions

2
bot.go
View File

@@ -1207,7 +1207,7 @@ func chatToTextSlice(messages []models.RoleMsg, showSys bool) []string {
// This is a tool call indicator - show collapsed
if toolCollapsed {
toolName := messages[i].ToolCall.Name
resp[i] = fmt.Sprintf("%s\n[yellow::i][tool call: %s (press Ctrl+T to expand)][-:-:-]\n", icon, toolName)
resp[i] = fmt.Sprintf("%s\n%s\n[yellow::i][tool call: %s (press Ctrl+T to expand)][-:-:-]\n", icon, messages[i].GetText(), toolName)
} else {
// Show full tool call info
toolName := messages[i].ToolCall.Name