diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-02-19 09:00:50 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-02-19 09:00:50 +0300 |
| commit | 7c1a8b01220083bdaf0b14d81f39949f0385f3f8 (patch) | |
| tree | 965724306e20607d2ccf662ccbb074c04e871b11 /bot.go | |
| parent | eeca909b6573e14b51f9fe5ce5451c90ab95a00e (diff) | |
Chore: cleaner tool use log
Diffstat (limited to 'bot.go')
| -rw-r--r-- | bot.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
