mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 19:04:55 +08:00
[Fix] Fix typo in resolve_hf_chat_template (#18259)
Signed-off-by: Felix Marty <felmarty@amd.com>
This commit is contained in:
parent
e23564cb70
commit
a5f8c111c2
@ -339,7 +339,7 @@ def resolve_hf_chat_template(
|
|||||||
tools: Optional[list[dict[str, Any]]],
|
tools: Optional[list[dict[str, Any]]],
|
||||||
*,
|
*,
|
||||||
model_config: ModelConfig,
|
model_config: ModelConfig,
|
||||||
trsut_remote_code: Optional[bool] = None,
|
trust_remote_code: Optional[bool] = None,
|
||||||
) -> Optional[str]:
|
) -> Optional[str]:
|
||||||
# 1st priority: The given chat template
|
# 1st priority: The given chat template
|
||||||
if chat_template is not None:
|
if chat_template is not None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user