cli : load parser definition (#19031)
* cli : load parser definition * cont : only unload if a parser is defined
This commit is contained in:
parent
51fa458a92
commit
a3e812811d
|
|
@ -84,6 +84,9 @@ struct cli_context {
|
|||
// chat template settings
|
||||
task.params.chat_parser_params = common_chat_parser_params(chat_params);
|
||||
task.params.chat_parser_params.reasoning_format = COMMON_REASONING_FORMAT_DEEPSEEK;
|
||||
if (!chat_params.parser.empty()) {
|
||||
task.params.chat_parser_params.parser.load(chat_params.parser);
|
||||
}
|
||||
|
||||
rd.post_task({std::move(task)});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue