Merge pull request 'Preserve travel follow-up clarification' (#316) from codex/chat-semantic-inventory into main
CI / test (push) Successful in 1m12s
CI / test (push) Successful in 1m12s
This commit was merged in pull request #316.
This commit is contained in:
@@ -827,7 +827,8 @@ func main() {
|
|||||||
}
|
}
|
||||||
if identityReply == "" {
|
if identityReply == "" {
|
||||||
stableAct := interactiondomain.ClassifySpeechAct(utterance.Content, utterance.CorrectsUtteranceID)
|
stableAct := interactiondomain.ClassifySpeechAct(utterance.Content, utterance.CorrectsUtteranceID)
|
||||||
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable {
|
travelClarification := interactiondomain.TravelSearchClarification(effectiveTaskMessage, conversationHistory)
|
||||||
|
if stableReply, stable := interactiondomain.StableConversationalReply(utterance.Content, stableAct); stable && travelClarification == "" {
|
||||||
planningReply = stableReply
|
planningReply = stableReply
|
||||||
needsCognition = false
|
needsCognition = false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user