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.
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.