mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-03-10 05:50:08 +00:00
minor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user