please include function ai_shortenForIndex. static bool ai_possiblyShortenedKey(S s) { ret l(s) == ai_shortenForIndex_maxLength && endsWith(s, "..."); }