This commit is contained in:
Saood Karim
2025-08-30 04:48:12 -05:00
parent 640f9b6485
commit 86e927bfe9

View File

@@ -339,8 +339,6 @@ static size_t common_part(const llama_context * ctx, const llama_model * model,
return token_idx;
}
static bool ends_with(const std::string & str, const std::string & suffix) {
return str.size() >= suffix.size() && 0 == str.compare(str.size() - suffix.size(), suffix.size(), suffix);
}