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

Set verbosity of all logs with CL flag #501

Open klieret opened 4 months ago

klieret commented 4 months ago

The --verbose flag isn't great, let's just set logging.setLevel numbers. Also, since it's not distinguishable from the CLI, let's make verbose affect all logs, rather than just the env.

Should we have a debug level where you can print all commands issued in the env and their output?