Restore stable replies after cognitive routing
CI / test (push) Successful in 1m3s
CI / test (pull_request) Successful in 1m2s

This commit is contained in:
m
2026-08-25 04:23:00 +03:00
parent 24e865aa07
commit d924694602
3 changed files with 35 additions and 0 deletions
+5
View File
@@ -813,6 +813,11 @@ func main() {
log.Printf("cognitive response review proposed stable semantic rewrite; preserving semantic reply")
}
}
if !responseResult.Handled && identityReply == "" {
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, deterministicSpeechAct); stable {
planningReply = stableReply
}
}
response := interaction.ChatMessageResponse{
ConversationID: conversation.ID,
UtteranceID: utterance.ID,