From 73de357c9ff865d8d259c47cb5efed08bd283a02 Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 25 Aug 2026 03:11:51 +0300 Subject: [PATCH] Trace durable interaction history volume --- cmd/core-runtime/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/core-runtime/main.go b/cmd/core-runtime/main.go index edf07b1..7b4aa34 100644 --- a/cmd/core-runtime/main.go +++ b/cmd/core-runtime/main.go @@ -524,6 +524,8 @@ func main() { recentUserHistory, historyErr := interactionRepository.RecentUtterancesForPrincipal(r.Context(), session.PrincipalID, 64) if historyErr != nil { log.Printf("interaction principal history unavailable: %v", historyErr) + } else { + log.Printf("interaction principal history loaded: %d utterances", len(recentUserHistory)) } conversationHistory = append(conversationHistory, recentUserHistory...) if request.ConversationID != "" && interactiondomain.IsRetryRequest(utterance.Content) { -- 2.54.0