summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-19 09:00:50 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-19 09:00:50 +0300
commit7c1a8b01220083bdaf0b14d81f39949f0385f3f8 (patch)
tree965724306e20607d2ccf662ccbb074c04e871b11 /bot.go
parenteeca909b6573e14b51f9fe5ce5451c90ab95a00e (diff)
Chore: cleaner tool use log
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.go b/bot.go
index 1843fb1..830f344 100644
--- a/bot.go
+++ b/bot.go
@@ -1070,7 +1070,7 @@ func findCall(msg, toolCall string) bool {
}
resp := callToolWithAgent(fc.Name, fc.Args)
toolMsg := string(resp) // Remove the "tool response: " prefix and %+v formatting
- logger.Info("llm used tool call", "tool_resp", toolMsg, "tool_attrs", fc)
+ logger.Info("llm used a tool call", "tool_name", fc.Name, "too_args", fc.Args, "id", fc.ID, "tool_resp", toolMsg)
fmt.Fprintf(textView, "%s[-:-:b](%d) <%s>: [-:-:-]\n%s\n",
"\n\n", len(chatBody.Messages), cfg.ToolRole, toolMsg)
// Create tool response message with the proper tool_call_id