Skip to content

fix: save remote Gateway TTS output (AI-assisted) - #194702

Closed
qingminglong wants to merge 13 commits into
openclaw:mainfrom
qingminglong:fix/remote-gateway-tts-output
Closed

qingminglong wants to merge 13 commits into
openclaw:mainfrom
qingminglong:fix/remote-gateway-tts-output

Conversation

@qingminglong

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where CLI users running openclaw capability tts convert --gateway --output <path> against a remote Gateway received an unsupported-operation error instead of an audio file.

Why This Change Was Made

Remote Gateways now use the existing tts.speak inline-audio RPC, decode the returned base64 payload, and pass it through writeOutputAsset. The RPC accepts the same channel/provider/model/voice selection inputs as the CLI conversion path, while output extension selection follows the returned MIME type and file extension.

User Impact

Remote Gateway TTS can now save audio with --output; calls without an explicit output path also produce a locally accessible media artifact. Explicit model and voice overrides continue to reach the Gateway.

Evidence

  • Added CLI regression coverage for remote Gateway output, base64 decoding, extension preservation, and channel/model/voice forwarding.
  • Added Gateway protocol and handler support for TTS selection parameters.
  • oxlint passes on changed runtime/protocol files.
  • oxfmt --check passes on all changed files.
  • git diff --check passes.
  • Focused Vitest execution is blocked by pre-existing missing files in the dirty checkout (@openclaw/normalization-core/home-dir and related staged refactor artifacts).
  • Autoreview TruffleHog preflight is clean; Codex review could not complete because the configured relay returned HTTP 200 for the WebSocket handshake. This PR is AI-assisted.

@clawsweeper

clawsweeper Bot commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime cli CLI command changes size: XL labels Nov 7, 2026
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 7, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Nov 7, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 7, 2026
@openclaw-barnacle openclaw-barnacle Bot closed this Nov 7, 2026
@openclaw-barnacle openclaw-barnacle Bot reopened this Nov 7, 2026
@obviyus

obviyus commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

Thanks for the work here. We're closing this: it doesn't show a real user-facing problem (no report from an affected user and no natural reproduction), and it follows a pattern of small, speculative or duplicate changes split across many PRs. Please open an issue with a reproduction of real harm first; a fix can follow once the problem is confirmed.

@obviyus obviyus closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper-recovery-stuck cli CLI command changes gateway Gateway runtime size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants