[Misc] add mm_processor_kwargs to extra_body for Qwen2.5-VL (#13533)

This commit is contained in:
2025-02-20 15:04:30 +08:00
committed by GitHub
parent 9621667874
commit 041e294716
4 changed files with 18 additions and 2 deletions

View File

@@ -312,6 +312,10 @@ class ChatCompletionRequest(OpenAIBaseModel):
description=("Additional kwargs to pass to the template renderer. "
"Will be accessible by the chat template."),
)
mm_processor_kwargs: Optional[Dict[str, Any]] = Field(
default=None,
description=("Additional kwargs to pass to the HF processor."),
)
guided_json: Optional[Union[str, dict, BaseModel]] = Field(
default=None,
description=("If specified, the output will follow the JSON schema."),