diff --git a/python/sglang/srt/parser/conversation.py b/python/sglang/srt/parser/conversation.py index 131343c85..17fd93053 100644 --- a/python/sglang/srt/parser/conversation.py +++ b/python/sglang/srt/parser/conversation.py @@ -1039,7 +1039,8 @@ MODEL_TYPE_TO_TEMPLATE = { @register_conv_template_matching_function def match_points_v15_chat(model_path: str): - if re.search(r"points", model_path, re.IGNORECASE): + # reference: https://github.com/sgl-project/sglang/issues/12791 + if re.search(r"\bpoints\b", model_path, re.IGNORECASE): return "points-v15-chat"