phraser, mavend: read the fallbacks from the file (V-501)

The accessors are functions now, so the call sites that compared against one
literal compare against the entry instead: IsUnknownFallback and
IsSourcesFallback in the daemon tests, the entry key in the phraser tests. A
reworded variant no longer breaks a Go test.

The eval scores every variant on the persona checks the nudges already pass.
This commit is contained in:
2026-08-04 01:19:41 +04:00
parent 4fdce3ca2c
commit 865623ef3e
10 changed files with 154 additions and 45 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func (h *reactiveHandler) actionChat(ctx context.Context, dec router.Decision) s
log.Printf("voice: chat: %v", err)
}
if reply == "" {
return phraser.ChatFallback
return phraser.ChatFallback()
}
return reply
}