summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-10 11:05:09 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-10 11:05:09 +0300
commit875de679cf4732bbd70361d826d65d9d8b190add (patch)
treee4ad90c2bdde747ad057e4e7d6e850c3173018fd /tools.go
parent3b542421e35180db9b9f972ee973befc42f1a46f (diff)
parent37b98ad36cd7e63d96a190017b78fe35143a2e6a (diff)
Merge branch 'feat/char-secrets'
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.go b/tools.go
index deba7b4..dbf8310 100644
--- a/tools.go
+++ b/tools.go
@@ -946,7 +946,7 @@ func summarizeChat(args map[string]string) []byte {
return []byte("No chat history to summarize.")
}
// Format chat history for the agent
- chatText := chatToText(true) // include system and tool messages
+ chatText := chatToText(chatBody.Messages, true) // include system and tool messages
return []byte(chatText)
}