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

Method str

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

Source from the content-addressed store, hash-verified

144}
145
146std::string common_chat_msg_parser::str(const common_string_range & rng) const {
147 GGML_ASSERT(rng.begin <= rng.end);
148 return input_.substr(rng.begin, rng.end - rng.begin);
149}
150
151void common_chat_msg_parser::add_content(const std::string &content) {
152 result_.content += content;

Callers 15

addMethod · 0.45
common_tokens_to_strFunction · 0.45
format_literalFunction · 0.45
_not_stringsMethod · 0.45
visitMethod · 0.45
format_grammarMethod · 0.45
to_iniMethod · 0.45
to_stringMethod · 0.45
get_all_kv_cache_typesFunction · 0.45

Calls

no outgoing calls

Tested by 1