feat(app): addressed calls follow who is in the voice channel
Alone with Jarvis, whatever the speaker says is answered without asking the judge. With others present the judge is told how many people are in the channel and how many may call Jarvis: with one other person most of what the speaker says counts as said to Jarvis (unclear is yes); with more, or not known, the question is the group one it was before. Live 2026-11-16: alone in the channel, questions without the wake word got no answer because the judge assumed a group. Eval (qwen3:8b, pair cases): 3/7 before, 6/7 after; group cases unchanged. Also: the protocol test fixture's brain takes the trace argument (the test failed since traces). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -129,7 +129,7 @@ async fn audio_and_tts_round_trip_through_the_python_server() {
|
||||
assert_eq!((end.id.as_str(), end.played, end.failed), (id.as_str(), 2, false));
|
||||
|
||||
// The two judgements come back under their ids.
|
||||
assert!(c.addressed("q1", 42, "불 켜 줘"));
|
||||
assert!(c.addressed("q1", 42, "불 켜 줘", 2, 2));
|
||||
assert!(c.rank("k1", &[("1".into(), 42, "a".into()), ("2".into(), 43, "b".into())]));
|
||||
let (mut addressed, mut ranked) = (None, None);
|
||||
tokio::time::timeout(Duration::from_secs(5), async {
|
||||
|
||||
Reference in New Issue
Block a user