From 16982d49fbe74be6cb181afa8cce18debb9feb3e Mon Sep 17 00:00:00 2001 From: Wanglongzhi2001 <583087864@qq.com> Date: Mon, 30 Mar 2026 14:13:25 +0800 Subject: [PATCH] [Other] support video_fps args for video bench --- 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 f8cd70bca08..3560f3a8aef 100644 --- a/fastdeploy/entrypoints/openai/protocol.py +++ b/fastdeploy/entrypoints/openai/protocol.py @@ -548,6 +548,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 @@ -734,6 +737,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