diff --git a/requirements-common.txt b/requirements-common.txt index 0514bf8adcaf..942c3e039eaf 100644 --- a/requirements-common.txt +++ b/requirements-common.txt @@ -9,8 +9,7 @@ py-cpuinfo transformers >= 4.48.2 # Required for Bamba model and Transformers backend. tokenizers >= 0.19.1 # Required for Llama 3. protobuf # Required by LlamaTokenizer. -fastapi[standard] >= 0.107.0, < 0.113.0; python_version < '3.9' -fastapi[standard] >= 0.107.0, != 0.113.*, != 0.114.0; python_version >= '3.9' +fastapi[standard] >= 0.115.0 # Required by FastAPI's form models in the OpenAI API server's audio transcriptions endpoint. aiohttp openai >= 1.52.0 # Ensure modern openai package (ensure types module present and max_completion_tokens field support) pydantic >= 2.9 diff --git a/vllm/entrypoints/openai/protocol.py b/vllm/entrypoints/openai/protocol.py index 45b98a032bda..cd2902f934bf 100644 --- a/vllm/entrypoints/openai/protocol.py +++ b/vllm/entrypoints/openai/protocol.py @@ -1448,7 +1448,7 @@ AudioResponseFormat: TypeAlias = Literal["json", "text", "srt", "verbose_json", class TranscriptionRequest(OpenAIBaseModel): # Ordered by official OpenAI API documentation - #https://platform.openai.com/docs/api-reference/audio/createTranscription + # https://platform.openai.com/docs/api-reference/audio/createTranscription file: UploadFile """