MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / finish

Method finish

subprojects/llama.cpp/common/chat-parser.cpp:226–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

224 return add_tool_call(name, "", arguments);
225}
226void common_chat_msg_parser::finish() {
227 if (!is_partial_ && pos_ != input_.size()) {
228 throw std::runtime_error("Unexpected content at end of input");// + input_.substr(pos_));
229 }
230}
231
232bool common_chat_msg_parser::consume_spaces() {
233 const auto length = input_.size();

Callers 5

adbStartMethod · 0.45
test_positionsFunction · 0.45
common_chat_parseFunction · 0.45
finishActivityMethod · 0.45

Calls 1

sizeMethod · 0.65

Tested by 1

test_positionsFunction · 0.36