Keep identity reply consistent across response fields #327
@@ -868,7 +868,9 @@ func main() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if identityReply != "" {
|
if identityReply != "" {
|
||||||
|
semantic.Reply = identityReply
|
||||||
needsCognition = false
|
needsCognition = false
|
||||||
|
planningReply = identityReply
|
||||||
}
|
}
|
||||||
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)
|
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{
|
response := interaction.ChatMessageResponse{
|
||||||
|
|||||||
Reference in New Issue
Block a user