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:
@@ -470,8 +470,9 @@ impl WorkerClient {
|
||||
}
|
||||
|
||||
/// Ask whether `text` was said to Jarvis (call mode `addressed`).
|
||||
pub fn addressed(&self, id: &str, user: u64, text: &str) -> bool {
|
||||
self.send_json(json!({"type": "addressed", "id": id, "user": user.to_string(), "text": text}))
|
||||
pub fn addressed(&self, id: &str, user: u64, text: &str, people: usize, callers: usize) -> bool {
|
||||
self.send_json(json!({"type": "addressed", "id": id, "user": user.to_string(), "text": text,
|
||||
"people": people, "callers": callers}))
|
||||
}
|
||||
|
||||
/// Tell the brain the LLM switches (voice_worker.spec.md, "LLM switches"): it starts no new
|
||||
|
||||
Reference in New Issue
Block a user