Skip to content
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chat-parser: address pr-16394 review feedback from ngxson
Co-authored-by: Xuan Son Nguyen <[email protected]>
  • Loading branch information
ServeurpersoCom and ngxson committed Oct 6, 2025
commit 6041e2562fd4a47f4aa47a0a22af12f1ea752dbb
4 changes: 0 additions & 4 deletions common/chat-parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@ bool common_chat_msg_parser::try_parse_reasoning(const std::string & start_think
if (!rest.empty()) {
handle_reasoning(rest, /* closed */ !is_partial());
}
// Allow unclosed thinking tags, for now (https://github.com/ggml-org/llama.cpp/issues/13812, https://github.com/ggml-org/llama.cpp/issues/13877)
// if (!syntax_.thinking_forced_open) {
// throw common_chat_msg_partial_exception(end_think);
// }
return true;
}
}
Expand Down
Loading