|
Download openhands/agenthub/micro/commit_writer/README.md from ar08/zzz: direct link, hf CLI and curl.
- Browser
- Download file 743 Bytes
-
https://huggingface.co/spaces/ar08/zzz/resolve/main/openhands/agenthub/micro/commit_writer/README.md
- Command line
-
hf download hf://spaces/ar08/zzz/openhands/agenthub/micro/commit_writer/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ar08/zzz/resolve/main/openhands/agenthub/micro/commit_writer/README.md
743 Bytes
| ## Introduction | |
| CommitWriterAgent can help write git commit message. Example: | |
| ```bash | |
| WORKSPACE_MOUNT_PATH="`PWD`" \ | |
| poetry run python openhands/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. | |