sfortis / openai_tts

OpenAI TTS custom component for HA
GNU General Public License v3.0
44 stars 15 forks source link

CONF_API_KEY length 51 vs 56 #9

Closed tolnai closed 2 months ago

tolnai commented 2 months ago

The CONF_API_KEY config value is checked to be 51 character long, but the new project based openapi keys are 56 character long. Also I didn't succeed to use my old key to generate voice (got an error from the API call), so I had to change the code in custom_components to allow 56 characters and then it worked with my project api key.

sfortis commented 2 months ago

this is resolved with the latest update