Unverified Commit a5f8c111 authored by fxmarty-amd's avatar fxmarty-amd Committed by GitHub
Browse files

[Fix] Fix typo in `resolve_hf_chat_template` (#18259)


Signed-off-by: default avatarFelix Marty <felmarty@amd.com>
parent e23564cb
......@@ -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()}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment