Update pkg/agent/loop.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Kristjan Kruus 2026-03-24 20:51:46 +02:00 committed by GitHub
parent d6c3593f7e
commit 753b5d981f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1234,7 +1234,7 @@ func (al *AgentLoop) ProcessHeartbeat(
if ts := al.getAnyActiveTurnState(); ts != nil { if ts := al.getAnyActiveTurnState(); ts != nil {
logger.InfoCF("heartbeat", "Skipping heartbeat — agent is busy", logger.InfoCF("heartbeat", "Skipping heartbeat — agent is busy",
map[string]any{ map[string]any{
"active_session": ts.sessionKey, "session_key": ts.sessionKey,
}) })
return "HEARTBEAT_SKIPPED", nil return "HEARTBEAT_SKIPPED", nil
} }