mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-25 23:01:10 +00:00
* fix(gradium): treat blank env API key as unconfigured in synthesis paths The isGradiumProviderConfigured helper already uses trimToUndefined on GRADIUM_API_KEY, but synthesize and synthesizeTelephony still used the bare env var. This made whitespace-only credentials pass the missing-key guard and send unusable bearer tokens. - Wrap process.env.GRADIUM_API_KEY with trimToUndefined in synthesize - Wrap process.env.GRADIUM_API_KEY with trimToUndefined in synthesizeTelephony - Add test for whitespace-only env key rejection in synthesize This completes the blank-credential guard for the Gradium provider, matching the pattern from OpenAI (#108212), Xiaomi (#108558), Deepgram (#108565), and Inworld (#108783). Co-Authored-By: Claude <noreply@anthropic.com> * fix(gradium): centralize speech API key resolution --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>
OpenClaw Gradium Plugin
Official OpenClaw plugin for Gradium.
Install from OpenClaw:
openclaw plugins install @openclaw/gradium-speech
openclaw gateway restart
See https://docs.openclaw.ai/providers/gradium for setup and configuration.