We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
resolve_hf_chat_template
1 parent e23564c commit a5f8c11Copy full SHA for a5f8c11
vllm/entrypoints/chat_utils.py
@@ -339,7 +339,7 @@ def resolve_hf_chat_template(
339
tools: Optional[list[dict[str, Any]]],
340
*,
341
model_config: ModelConfig,
342
- trsut_remote_code: Optional[bool] = None,
+ trust_remote_code: Optional[bool] = None,
343
) -> Optional[str]:
344
# 1st priority: The given chat template
345
if chat_template is not None:
@@ -1293,4 +1293,4 @@ def apply_mistral_chat_template(
1293
raise ValueError from e
1294
1295
def random_tool_call_id() -> str:
1296
- return f"chatcmpl-tool-{random_uuid()}"
+ return f"chatcmpl-tool-{random_uuid()}"
0 commit comments