| 25 | } |
| 26 | |
| 27 | std::string common_chat_msg_parser::str(const common_string_range & rng) const { |
| 28 | GGML_ASSERT(rng.begin <= rng.end); |
| 29 | return input_.substr(rng.begin, rng.end - rng.begin); |
| 30 | } |
| 31 | |
| 32 | void common_chat_msg_parser::add_content(const std::string &content) { |
| 33 | result_.content += content; |
no test coverage detected