summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-08-08 14:26:01 +0300
committerGrail Finder <wohilas@gmail.com>2025-08-08 14:26:01 +0300
commit6955a5bc3a89e982f0b05d1e8e6f109e3b79d9ca (patch)
treeefc6375fb276562f786851220794ecc0ac63decc /bot.go
parent3b7784e0a44e7f8ca5c14db590ebdfe1736e87e5 (diff)
Enha: show tool responseHEADmaster
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot.go b/bot.go
index 776a373..35ea0fa 100644
--- a/bot.go
+++ b/bot.go
@@ -448,6 +448,8 @@ func findCall(msg, toolCall string, tv *tview.TextView) {
}
resp := f(fc.Args)
toolMsg := fmt.Sprintf("tool response: %+v", string(resp))
+ fmt.Fprintf(tv, "%s[-:-:b](%d) <%s>: [-:-:-]\n%s\n",
+ "\n", len(chatBody.Messages), cfg.ToolRole, toolMsg)
chatRound(toolMsg, cfg.ToolRole, tv, false, false)
}