summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
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)
}