This commit is contained in:
afjcjsbx committed 2026-03-22 23:39:33 +01:00
1 parent b90c5007f6
commit 388505d7e0
1 file changed
+1 -1
+1 -1
View File
@@ -2528,7 +2528,7 @@ turnLoop:
Role: "assistant",
Content: handledToolResponseSummary,
}
messages = append(messages, summaryMsg)
if !ts.opts.NoHistory {
ts.agent.Sessions.AddMessage(ts.sessionKey, summaryMsg.Role, summaryMsg.Content)
ts.recordPersistedMessage(summaryMsg)