feat: SWE Agent Implementation (#846)

* Merge branch 'main' of https://github.com/JayQuimby/OpenDevin

* Using commands.sh for ACI

* parsing, prompting, and actions modifications

* added start and end index to read and write

* bug fixes and test updates

* Lint code changes to ensure code is proper

* State management, bugs, prompts

* Prompt Engineering

* exception handling

* big fixes

* more bug fixes

* merge conflicts

* Renamed SWEAgent, basic tests, bug fixes

* prompt changes, bug fixes

* merge conflicts

* merge conflict

* start and end line for read and write

* more merge conflicts

* env error

* linter error

* read fixed, prompt change, example added

* added x_line:end read operation

---------

Co-authored-by: Robert Brennan <accounts@rbren.io>
This commit is contained in:
Jack Quimby
2024-04-17 12:19:00 -04:00
committed by GitHub
parent c8c1eed5be
commit 16fc728696
10 changed files with 946 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
from dotenv import load_dotenv
load_dotenv()
@@ -5,5 +6,7 @@ load_dotenv()
from . import monologue_agent # noqa: E402
from . import codeact_agent # noqa: E402
from . import planner_agent # noqa: E402
from . import SWE_agent # noqa: E402
__all__ = ['monologue_agent', 'codeact_agent', 'planner_agent']
__all__ = ['monologue_agent', 'codeact_agent',
'planner_agent', 'SWE_agent']