Trace durable interaction history volume #301

Merged
m merged 2 commits from codex/chat-semantic-inventory into main 2026-08-25 00:16:54 +00:00
+2
View File
@@ -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) {