Improve degraded household replies
CI / test (push) Successful in 1m7s
CI / test (pull_request) Successful in 1m4s

This commit is contained in:
m
2026-08-25 12:08:52 +03:00
parent 8658db537d
commit 8124fcbcc3
3 changed files with 40 additions and 3 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ func TestCognitiveConfigurationRequestDoesNotPretendToMutate(t *testing.T) {
func TestCognitiveDegradedReplyKeepsDomovoyAlive(t *testing.T) {
reply := humanCognitiveDegradedReply("Помоги настроить локальную модель")
if !strings.Contains(reply, "когнитивный канал") || !strings.Contains(reply, "Повторю") {
if strings.Contains(reply, "когнитивный канал") || strings.Contains(reply, "Повторю") || !strings.Contains(reply, "не выдумываю") {
t.Fatalf("unexpected degraded reply: %q", reply)
}
}