| 122 | } |
| 123 | |
| 124 | void common_chat_msg_parser::consume_literal(const std::string & literal) { |
| 125 | if (!try_consume_literal(literal)) { |
| 126 | throw common_chat_msg_partial_exception(literal); |
| 127 | } |
| 128 | } |
| 129 | |
| 130 | bool common_chat_msg_parser::try_parse_reasoning(const std::string & start_think, const std::string & end_think) { |
| 131 | auto handle_reasoning = [&](const std::string & reasoning, bool closed) { |
no test coverage detected