Skip to content

reviewbot occasionally generates massive comments if the LLM gets into an infinite loop and repeats itself #5995

@dholbert

Description

@dholbert

See https://phabricator.services.mozilla.com/D298472#10350474 where the LLM's next-token-prediction decided to generate thousands of copies of " prevent prevent prevent prevent ..." followed by thousands of copies of "not converting not converting not converting ..."

This produced a massive comment (about 100,000px tall).

We should add some guardrails to account for this and clamp comments to some upper-limit.

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