princeton-nlp / SWE-agent

SWE-agent takes a GitHub issue and tries to automatically fix it, using GPT-4, or your LM of choice. It can also be employed for offensive cybersecurity or competitive coding challenges.
https://princeton-nlp.github.io/SWE-agent/
MIT License
13.39k stars 1.33k forks source link

Enh: Warn if scrolling >= 3 times #626

Closed klieret closed 3 months ago

klieret commented 3 months ago

This issues a warning if the model wants to scroll >= 3 times in a row.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.25%. Comparing base (2b32e23) to head (99d9410). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #626 +/- ## ========================================== - Coverage 74.36% 74.25% -0.11% ========================================== Files 27 27 Lines 3686 3686 ========================================== - Hits 2741 2737 -4 - Misses 945 949 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.