Skip to content

Inspect_history only shows the last history regardless of n/skip #784

@noobHappylife

Description

@noobHappylife

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions