Preserve creative fallback over conversational reflex
CI / test (push) Successful in 1m32s
CI / test (pull_request) Successful in 1m28s

This commit is contained in:
m
2026-08-25 13:54:14 +03:00
parent 643ce34cff
commit fb968502ba
+1 -1
View File
@@ -905,7 +905,7 @@ func main() {
log.Printf("cognitive response review proposed stable semantic rewrite; preserving semantic reply") 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) stableAct := interactiondomain.ClassifySpeechAct(utterance.Content, utterance.CorrectsUtteranceID)
travelClarification := interactiondomain.TravelSearchClarification(effectiveTaskMessage, conversationHistory) travelClarification := interactiondomain.TravelSearchClarification(effectiveTaskMessage, conversationHistory)
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable && travelClarification == "" { if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable && travelClarification == "" {