[Other] support video_fps args for video bench (#7077)

This commit is contained in:
Longzhi Wang
2026-04-02 10:40:15 +08:00
committed by GitHub
parent 7aa213bba9
commit 938e7dd881
@@ -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