MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / finish

Method finish

smallthinker/common/chat-parser.cpp:69–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 return true;
68}
69void common_chat_msg_parser::finish() {
70 if (!is_partial_ && pos_ != input_.size()) {
71 throw std::runtime_error("Unexpected content at end of input");// + input_.substr(pos_));
72 }
73}
74
75bool common_chat_msg_parser::consume_spaces() {
76 const auto length = input_.size();

Callers 4

wordcut.jsFile · 0.80
test_positionsFunction · 0.80
common_chat_parseFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

test_positionsFunction · 0.64