மனோஜ்குமார் பழனிச்சாமி 143f38d25a
Refactored sandbox config and added fast boot (#2455)
* Refactored sandbox config and added fastboot

* added tests

* fixed tests

* fixed tests

* intimate user about breaking change

* remove default config from eval

* check for lowercase env

* add test

* Revert Migration

* migrate old sandbox configs

* resolve merge conflict

* revert migration 2

* Revert "remove default config from eval"

This reverts commit de57c588dbf29a3327798ce68976e2d2277b8bb1.

* change type to box_type

* fix var name

* linted

* lint

* lint comments

* fix tests

* fix tests

* fix typo

* fix box_type, remove fast_boot

* add tests for sandbox config

* fix test

* update eval docs

* small removal comments

* adapt toml template

* old fields shouldn't be in the app dataclass

* fix old keys in app config

* clean up exec box

---------

Co-authored-by: Engel Nyst <enyst@users.noreply.github.com>
2024-07-05 03:30:21 +00:00

741 B

Introduction

CommitWriterAgent can help write git commit message. Example:

WORKSPACE_MOUNT_PATH="`PWD`" SANDBOX_BOX_TYPE="ssh" \
  poetry run python opendevin/core/main.py -t "dummy task" -c CommitWriterAgent -d ./

This agent is special in the sense that it doesn't need a task. Once called, it attempts to read all diff in the git staging area and write a good commit message.

Future work

Feedback loop

The commit message could be (optionally) shown to the customer or other agents, so that CommitWriterAgent could gather feedback to further improve the commit message.

Task rejection

When the agent cannot compile a commit message (e.g. not git repository), it should reject the task with an explanation.