Preserve creative fallback over conversational reflex
CI / test (push) Failing after 1m3s
CI / test (pull_request) Failing after 1m1s

This commit is contained in:
m
2026-08-25 13:52:17 +03:00
parent cc08fb3d08
commit 2820a09bcc
+1 -1
View File
@@ -905,7 +905,7 @@ func main() {
log.Printf("cognitive response review proposed stable semantic rewrite; preserving semantic reply")
}
}
if identityReply == "" {
if identityReply == "" && creativeReply == "" && creativeFallbackReply == "" {
stableAct := interactiondomain.ClassifySpeechAct(utterance.Content, utterance.CorrectsUtteranceID)
travelClarification := interactiondomain.TravelSearchClarification(effectiveTaskMessage, conversationHistory)
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable && travelClarification == "" {