[Misc] Break chat_utils into more maintainable modules. (#60972)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2026-10-13 15:08:07 +00:00
committed by GitHub
parent f395a6b1ad
commit 669f85e686
21 changed files with 2533 additions and 2375 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ from vllm.renderers.chat_utils import (
ChatCompletionContentPartTextParam,
ConversationMessage,
MultiModalItemTracker,
_parse_chat_message_content_parts,
parse_chat_message_content_parts,
)
from .typing import (
@@ -193,7 +193,7 @@ def _parse_score_content(
mm_parser = mm_tracker.create_parser()
parse_res = _parse_chat_message_content_parts(
parse_res = parse_chat_message_content_parts(
role=role,
parts=parts,
mm_tracker=mm_tracker,