Merge pull request 'Stop repeat cognition for stable replies' (#311) from codex/chat-semantic-inventory into main
CI / test (push) Successful in 1m9s

This commit was merged in pull request #311.
This commit is contained in:
m
2026-08-25 01:44:20 +00:00
+4
View File
@@ -817,8 +817,12 @@ func main() {
stableAct := interactiondomain.ClassifySpeechAct(utterance.Content, utterance.CorrectsUtteranceID)
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable {
planningReply = stableReply
needsCognition = false
}
}
if identityReply != "" {
needsCognition = false
}
log.Printf("chat response final message=%q act=%s deterministic=%s handled=%t fallback=%q planning=%q", utterance.Content, semantic.Interpretation.SpeechAct, deterministicSpeechAct, responseResult.Handled, semantic.Reply, planningReply)
response := interaction.ChatMessageResponse{
ConversationID: conversation.ID,