Use Mini 2 firmware audio processing and Scribe v3 Live
This commit is contained in:
+3
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user