Bind audio.transcribe hydration to current message turn

This commit is contained in:
William Valentin
2026-02-22 21:27:09 -08:00
parent 89246e7da0
commit a761813375
5 changed files with 180 additions and 11 deletions
+2 -2
View File
@@ -656,7 +656,7 @@ describe('daemon command fast-path integration', () => {
const keys = Array.from(router.agents.keys());
expect(keys.some(key => key.includes(':research'))).toBe(true);
expect(processSpy).toHaveBeenCalledWith('compare k0s vs k3s for a homelab', undefined);
expect(processSpy).toHaveBeenCalledWith('compare k0s vs k3s for a homelab', undefined, undefined);
});
it('falls back to llm path when confidence is below fast threshold', async () => {
@@ -1938,6 +1938,6 @@ describe('daemon talk mode (voice wake) integration', () => {
timestamp: Date.now(),
} as MessageRouterInput, reply);
expect(processSpy).toHaveBeenCalledOnce();
expect(processSpy).toHaveBeenCalledWith('what time is it?', undefined);
expect(processSpy).toHaveBeenCalledWith('what time is it?', undefined, undefined);
});
});