Loads TTSConfig and STTConfig from the llm4s.speech block of the application configuration, whose defaults and environment variables are declared in this module's reference.conf.
Provider selection is the provider/model form used for chat models:
The TTS configuration for an explicit provider/model (e.g. openai/tts-1), with that provider's credentials and endpoint read from source. For callers that choose the model themselves instead of through llm4s.speech.tts.model.
The TTS configuration for an explicit provider/model (e.g. openai/tts-1), with that provider's credentials and endpoint read from source. For callers that choose the model themselves instead of through llm4s.speech.tts.model.