diff --git a/openedai.py b/openedai.py index 02888bf..c6ab6a1 100644 --- a/openedai.py +++ b/openedai.py @@ -145,9 +145,11 @@ class OpenAIStub(FastAPI): async def health(): return {"status": "ok" if self.models else "unk" } - @self.get("/v1/models") - async def get_model_list(): - return self.model_list() + # NOTE: /v1/models endpoint is defined in speech.py for custom voice listing + # If you need the default behavior, uncomment these lines: + # @self.get("/v1/models") + # async def get_model_list(): + # return self.model_list() @self.get("/v1/models/{model}") async def get_model_info(model_id: str):