Skip to content

Commit 6041e25

Browse files
chat-parser: address pr-16394 review feedback from ngxson
Co-authored-by: Xuan Son Nguyen <[email protected]>
1 parent ba34160 commit 6041e25

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

common/chat-parser.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@ bool common_chat_msg_parser::try_parse_reasoning(const std::string & start_think
192192
if (!rest.empty()) {
193193
handle_reasoning(rest, /* closed */ !is_partial());
194194
}
195-
// Allow unclosed thinking tags, for now (https://github.com/ggml-org/llama.cpp/issues/13812, https://github.com/ggml-org/llama.cpp/issues/13877)
196-
// if (!syntax_.thinking_forced_open) {
197-
// throw common_chat_msg_partial_exception(end_think);
198-
// }
199195
return true;
200196
}
201197
}

0 commit comments

Comments
 (0)