While I'm using the inspect_history to check the output history, regardless of the n, and skip I chose. It always only return the last history.
for idx, (prompt, choices) in enumerate((printed)):
# skip the first `skip` prompts
if (n - idx - 1) > skip:
continue
printing_value = ""
A changed to the inspect_history function as above would make it works to show the last n-th history after considering the skip.