From a5f8c111c261f43726f24fcd56f450c0567bff8b Mon Sep 17 00:00:00 2001 From: fxmarty-amd Date: Fri, 16 May 2025 16:52:41 +0200 Subject: [PATCH] [Fix] Fix typo in `resolve_hf_chat_template` (#18259) Signed-off-by: Felix Marty --- vllm/entrypoints/chat_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vllm/entrypoints/chat_utils.py b/vllm/entrypoints/chat_utils.py index adfacf2b4719..e8d10017a1e9 100644 --- a/vllm/entrypoints/chat_utils.py +++ b/vllm/entrypoints/chat_utils.py @@ -339,7 +339,7 @@ def resolve_hf_chat_template( tools: Optional[list[dict[str, Any]]], *, model_config: ModelConfig, - trsut_remote_code: Optional[bool] = None, + trust_remote_code: Optional[bool] = None, ) -> Optional[str]: # 1st priority: The given chat template if chat_template is not None: @@ -1293,4 +1293,4 @@ def apply_mistral_chat_template( raise ValueError from e def random_tool_call_id() -> str: - return f"chatcmpl-tool-{random_uuid()}" \ No newline at end of file + return f"chatcmpl-tool-{random_uuid()}"