fix(macos): set speech recognition taskHint for Talk Mode mic capture#38445
fix(macos): set speech recognition taskHint for Talk Mode mic capture#38445steipete merged 1 commit intoopenclaw:mainfrom
Conversation
Add taskHint = .dictation to Talk Mode's SFSpeechAudioBufferRecognitionRequest, matching what Voice Wake already sets. Without this hint the recognizer may not properly initialize audio capture, causing Talk Mode to appear unresponsive. Co-Authored-By: dmiv <[email protected]>
Greptile SummaryThis PR delivers a focused macOS improvement to Technical Assessment:
The PR also includes broader cleanup and documentation updates across other parts of the codebase (test refactoring, config adjustments, documentation corrections), but the primary focus and value of this change is the macOS speech recognition improvement. Confidence Score: 5/5
Last reviewed commit: 0d8d7c3 |
|
Landed via temp rebase onto main.
The baseline file was updated.
Found 0 warnings and 0 errors.
A2UI bundle up to date; skipping.
[copy-hook-metadata] Copied 4 hook metadata files.
RUN v4.0.18 /Users/steipete/Projects/clawdbot2 RUN v4.0.18 /Users/steipete/Projects/clawdbot2 ✓ src/acp/server.startup.test.ts (4 tests) 359ms Test Files 18 passed (18) ✓ src/infra/install-package-dir.test.ts (4 tests) 84ms Test Files 858 passed (858)
Thanks @dmiv! |
|
Follow-up landed on main in d5b305b GitHub's deleted-head rebase path kept the contributor commit but dropped the maintainer follow-up that added the changelog entry plus the Talk Mode speech-request defaults regression coverage/helper, so I landed those directly on main afterward. Also: the earlier landing comment here was mangled by shell expansion; ignore that one. Thanks @dmiv! |
* main: (70 commits) Refactor release hardening follow-ups (openclaw#39959) docs: clarify bot review conversation ownership (openclaw#39942) fix: harden talk silence timeout parsing (openclaw#39607) (thanks @danodoesdesign) talk: add configurable silence timeout transcript-policy: use named Set for anthropic signature-excluded providers transcript-policy: don't preserve thinking signatures for kimi-coding (openclaw#39798) fix: land mac universal release defaults (openclaw#33891) (thanks @cgdusek) Docs: clarify notarization handoff in mac release flow Docs: mark basic mac dist example as non-notarized Docs: clarify release build arch defaults for mac packaging macOS: default release app builds to universal binaries fix(issue-39839): address tool-call extra params parsing for kimi anthropic-messages docs: use alphabetical provider ordering fix: follow up openclaw#39321 and openclaw#38445 landings docs: note /landpr merge process fix: land Brave llm-context gaps (openclaw#33383) (thanks @thirumaleshp) feat: add Brave Search LLM Context API mode for web_search fix(feishu): restore @larksuiteoapi/node-sdk in root dependencies refactor: tighten codex inline api fallback follow-up macOS: set speech recognition taskHint for Talk Mode mic capture ...
(cherry picked from commit d5b305b)
(cherry picked from commit d5b305b) Co-authored-by: Peter Steinberger <[email protected]>
Summary
Set the
taskHintproperty on the speech recognition request for Talk Mode on macOS. This improves recognition accuracy by telling the system the audio is coming from a dictation/conversation context.Motivation
Without the task hint, macOS speech recognition may optimize for the wrong use case (e.g., search queries vs. dictation), resulting in lower transcription quality during Talk Mode sessions.
Changes
taskHintconfiguration to the speech recognition request