[Bugfix][Parser] Forward model_config to nested reasoning parsers (#50642)
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
Chauncey committed
Aug 1, 2026 at 13:07 UTC
6c91de36897932ba9b5adb11992235a2a789e009
1 file changed
+1
-1
vllm/parser/abstract_parser.py
+1
-1
@@ -122,7 +122,7 @@ class Parser:
122
self._tool_parser: ToolParser | None = None
123
if self.__class__.reasoning_parser_cls is not None:
124
self._reasoning_parser = self.__class__.reasoning_parser_cls(
125
- tokenizer, *args, **kwargs
125
+ tokenizer, *args, model_config=model_config, **kwargs
126
)
127
if self.__class__.tool_parser_cls is not None:
128
self._tool_parser = self.__class__.tool_parser_cls(tokenizer, tools)