We are adapting SWE-Agent to solve Java tasks.
When the agent tries to build a project using Gradle, larger projects often fail due to timeout issues.
Currently, in runtime/remote.py, the requests are sent via the method:
Inside this method, the session.post() call does not specify a timeout parameter, which means it uses the default value of 300 seconds.
For larger projects, this is insufficient and causes premature failures.
I can merge default timeout in config.py
timeout_request: float = 300.0
And set in in _request
timeout=aiohttp.ClientTimeout(total=self._config.timeout_request)
If this approach looks good, i can merge this.
We are adapting SWE-Agent to solve Java tasks.
When the agent tries to build a project using Gradle, larger projects often fail due to timeout issues.
Currently, in
runtime/remote.py, the requests are sent via the method:Inside this method, the
session.post()call does not specify a timeout parameter, which means it uses the default value of 300 seconds.For larger projects, this is insufficient and causes premature failures.
I can merge default timeout in config.py
And set in in
_requestIf this approach looks good, i can merge this.