mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-11-06 05:17:15 +00:00
test(install-e2e): cut the STT setting's comment to its reason
The commit that added stt.enabled: false carries the mechanism and the incident. The writer keeps one line saying why the setting exists and which releases need it; the test assertion needs no comment.
This commit is contained in:
1 parent
9e4b789b4a
commit
f0b595d15d
2 files changed
+1
-6
No files matched your search
@@ -96,7 +96,6 @@ test('provider reconfiguration preserves feed, plugins, history and explicit fix
|
||||
custom_providers: [{ name: 'Mock', base_url: 'http://127.0.0.1:9001/v1', key_env: 'OPENAI_API_KEY' }],
|
||||
auxiliary: { title_generation: { enabled: false } }, approvals: { mode: 'smart' }, display: { interim_assistant_messages: true },
|
||||
onboarding: { run: false },
|
||||
// Off so an old release's boot-time STT probe never lazy-installs ahead of the send.
|
||||
stt: { provider: 'local', enabled: false },
|
||||
})
|
||||
expect(fs.readFileSync(path.join(home, '.env'), 'utf8')).toBe('OTHER_TEST_VALUE=kept\nMOCK_API_KEY=e2e-mock-key\n')
|
||||
|
||||
@@ -77,11 +77,7 @@ export function writeMockProviderConfig(
|
||||
// first message the smoke sends; these journeys test install and update, so
|
||||
// the root config records onboarding as done.
|
||||
onboarding: { ...config.onboarding, run: false },
|
||||
// Releases before v2026.8.13 answer the app's boot-time wake.status inline on
|
||||
// the WebSocket reader, and with STT enabled that probe first lazy-installs
|
||||
// faster-whisper. A slow install holds every later request on the socket, so
|
||||
// session.create outlives the app's 30 s timeout and the send is rolled back.
|
||||
// These journeys test install and update, not voice input.
|
||||
// Pre-v2026.8.13 releases lazy-install faster-whisper on the WS reader when STT is on, stalling the first send.
|
||||
stt: { ...config.stt, enabled: false },
|
||||
...extra,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user