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