in lua/llm/utils.lua [61:63]
function M.ends_with(str, ending) return ending == "" or string.sub(str, -string.len(ending)) == ending end