From 0c6613d72a38e37467b367e28eb4a4ec87bf2733 Mon Sep 17 00:00:00 2001 From: Longzhi Wang <583087864@qq.com> Date: Thu, 2 Apr 2026 10:40:15 +0800 Subject: [PATCH] [Other] support video_fps args for video bench (#7077) --- fastdeploy/entrypoints/openai/protocol.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fastdeploy/entrypoints/openai/protocol.py b/fastdeploy/entrypoints/openai/protocol.py index e02ce5343be..c788e29dd91 100644 --- a/fastdeploy/entrypoints/openai/protocol.py +++ b/fastdeploy/entrypoints/openai/protocol.py @@ -553,6 +553,9 @@ class CompletionRequest(BaseModel): collect_metrics: Optional[bool] = False + # NOTE(Wanglongzhi2001): temporary parameter for video understanding benchmark + video_fps: Optional[float] = None + def to_dict_for_infer(self, request_id=None, prompt=None): """ Convert the request parameters into a dictionary @@ -739,6 +742,9 @@ class ChatCompletionRequest(BaseModel): collect_metrics: Optional[bool] = False + # NOTE(Wanglongzhi2001): temporary parameter for video understanding benchmark + video_fps: Optional[float] = None + def to_dict_for_infer(self, request_id=None): """ Convert the request parameters into a dictionary