mirror of
https://github.com/hanzoai/bot.git
synced 2026-11-01 07:38:30 +00:00
Automated rebrand of all openclaw references to hanzo bot: - Package: openclaw -> @hanzo/bot - Binary: openclaw -> hanzo-bot - Config: ~/.openclaw -> ~/.hanzo/bot - Docker: ghcr.io/hanzoai/bot - Env vars: OPENCLAW_* -> BOT_* - Bundle IDs: ai.hanzo.bot.* - Product name: Hanzo Bot
15 lines
386 B
Swift
15 lines
386 B
Swift
import Speech
|
|
import Testing
|
|
@testable import Hanzo Bot
|
|
|
|
struct TalkModeRuntimeSpeechTests {
|
|
@Test func `speech request uses dictation defaults`() {
|
|
let request = SFSpeechAudioBufferRecognitionRequest()
|
|
|
|
TalkModeRuntime.configureRecognitionRequest(request)
|
|
|
|
#expect(request.shouldReportPartialResults)
|
|
#expect(request.taskHint == .dictation)
|
|
}
|
|
}
|