Improve degraded household replies
CI / test (push) Failing after 1m0s
CI / test (pull_request) Failing after 58s

This commit is contained in:
m
2026-08-25 12:07:16 +03:00
parent bd382243a0
commit 0f193475ec
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)
}
}