chore(agent): fix gci formatting in loop
This commit is contained in:
parent
2ad43dbd3c
commit
c263cd207f
1 changed files with 1 additions and 0 deletions
|
|
@ -1155,6 +1155,7 @@ func areAllToolCallsMessage(calls []providers.ToolCall) bool {
|
|||
}
|
||||
return true
|
||||
}
|
||||
|
||||
// maybeSummarize triggers summarization if the session history exceeds thresholds.
|
||||
func (al *AgentLoop) maybeSummarize(agent *AgentInstance, sessionKey, channel, chatID string) {
|
||||
newHistory := agent.Sessions.GetHistory(sessionKey)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue