mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-23 17:51:12 +00:00
* fix(openai): treat blank env API key as unconfigured in speech provider process.env.OPENAI_API_KEY set to whitespace-only (e.g. ' ') causes isConfigured to return true, but downstream synthesis fails with an unusable bearer token. Add ?.trim() to treat whitespace-only env keys as missing, matching the existing normalization in the image-generation provider (image-generation-provider.ts:347). Fixes #108186 * test(openai): cover speech env key normalization Co-authored-by: luyifan <al3060388206@gmail.com> * fix(openai): normalize realtime transcription env key * chore(ci): prune stale max-lines baseline --------- Co-authored-by: Peter Steinberger <steipete@gmail.com> Co-authored-by: luyifan <al3060388206@gmail.com> Co-authored-by: Peter Steinberger <peter@steipete.me>