Skip to content

This doesn't seem like a good way to do it, and it leads to inference content repetition that can't be ended. #95

Description

@z503951608
public LlamaOutput next() {
    if (!this.hasNext) {
        throw new NoSuchElementException();
    } else {
        LlamaOutput output = this.model.receiveCompletion(this.taskId);
        this.hasNext = !output.stop;
        return output;
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions