joachimchauvet
joachimchauvet
**Description** [In the Wiki](https://github.com/oobabooga/text-generation-webui/wiki/12-%E2%80%90-OpenAI-API#compatibility--not-so-compatibility), the **/v1/engines/{model_name}** endpoint is mentioned: _You can use this legacy endpoint to load models via the api or command line_. However, it doesn't seem to be...
Fixes #5844 ## Checklist: - [x] I have read the [Contributing guidelines](https://github.com/oobabooga/text-generation-webui/wiki/Contributing-guidelines).
This also works with OpenAI-compatible API providers such as Groq (requested in #254) by passing the `base_url`. ```python stt = OpenAISTTService( api_key=os.getenv("GROQ_API_KEY"), base_url="https://api.groq.com/openai/v1", model="distil-whisper-large-v3-en" ) ```