Use Mini 2 firmware audio processing and Scribe v3 Live

This commit is contained in:
2026-11-10 23:02:27 +03:00
parent a27589447e
commit 9847ad6752
17 changed files with 416 additions and 184 deletions
+3 -1
View File
@@ -31,11 +31,13 @@ test('settings and bounded history survive a restart', t => {
const directory = mkdtempSync(join(tmpdir(), 'alice-store-'));
t.after(() => rmSync(directory, { recursive: true }));
const store = openStore(directory);
const changed = validateSettings({ ...store.getSettings(), systemPrompt: ' Тест ' });
assert.equal(store.getSettings().sttModel, 'scribe_v3_live');
const changed = validateSettings({ ...store.getSettings(), sttModel: 'scribe_v2_realtime', systemPrompt: ' Тест ' });
store.updateSettings(changed);
for (let i = 0; i < 55; i++) store.recordTurn(String(i), 'Ответ');
const reopened = openStore(directory);
assert.equal(reopened.getSettings().systemPrompt, 'Тест');
assert.equal(reopened.getSettings().sttModel, 'scribe_v2_realtime');
assert.equal(reopened.getHistory().length, 50);
assert.equal(reopened.getHistory()[0].user, '5');
reopened.clearHistory();