You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 4108bbc
Browse filesBrowse the repository at this point in the historyBrowse files
authored
fix(openai): treat blank env API key as unconfigured in speech provider (#108212)
* 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 <[email protected]>
* fix(openai): normalize realtime transcription env key
* chore(ci): prune stale max-lines baseline
---------
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: luyifan <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
0 commit comments