Skip to content

Commit a5f8c11

Browse files
authored
[Fix] Fix typo in resolve_hf_chat_template (#18259)
Signed-off-by: Felix Marty <[email protected]>
1 parent e23564c commit a5f8c11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/entrypoints/chat_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def resolve_hf_chat_template(
339339
tools: Optional[list[dict[str, Any]]],
340340
*,
341341
model_config: ModelConfig,
342-
trsut_remote_code: Optional[bool] = None,
342+
trust_remote_code: Optional[bool] = None,
343343
) -> Optional[str]:
344344
# 1st priority: The given chat template
345345
if chat_template is not None:
@@ -1293,4 +1293,4 @@ def apply_mistral_chat_template(
12931293
raise ValueError from e
12941294

12951295
def random_tool_call_id() -> str:
1296-
return f"chatcmpl-tool-{random_uuid()}"
1296+
return f"chatcmpl-tool-{random_uuid()}"

0 commit comments

Comments
 (0)