Gas strut assembly with an internal detent module