What is Nostr?
Dustin Dannenhauer /
npub1mgv…pdjc
2024-09-02 05:45:06

Dustin Dannenhauer on Nostr: I just went back and forth with an OpenAgents AI that created a PR for an outstanding ...

I just went back and forth with an OpenAgents AI that created a PR for an outstanding issue on DVMDash. The solution is now live on the website (the task was to add the current github commit hash to the DVMDash webpage so users could easily verify which version of the code is running, either in the cloud or locally). Overall, it was a smoother experience than I expected. Props to the team behind OpenAgents; looking forward to using this project more.

You can view the PR conversation here: https://github.com/dtdannen/dvmdash/pull/30

Every comment that ends in "(Comment from OpenAgents)" was the OpenAgents AI, everywhere else was me. You can see that I kicked back two different errors, and then I had a few requested changes to how it visually appeared on the webpage. In the end it took 6 iterations.

The flow was:
1. I connected OpenAgents to my github repos
2. I started a chat, selected the dvmdash repo, and checked the permissions I wanted to give the agent
3. The first thing I asked was: "Can you try working on one of the github issues that is marked as "good first issue"?"
4. It then picked the git commit issue after looking at a few of them and submitted the first attempt.
5. I did a git checkout of the PR, tested it locally, and then posted the failure back to the PR thread via Github, like I would with any contributor.
6. Then, in the chat with the agent I said: "please respond to the new comment on the PR"
7. It then went off, got the latest comment from Github, modified the code, submitted a new commit, and pushed it along with a new comment.

I repeated steps 5-7 another 5 times, before it fully worked in a way I was happy with!

Check out the git commit link on the top right of https://dvmdash.live/metrics !

Episode 123: GitHub Issues to Pull Requests

We solve multiple GitHub issues without touching a line of code.

Our coding agent works on four issues simultaneously, submitting multiple pull requests within seconds of each other.

The future of coding is not in your editor.

https://stacker.news/items/664110/r/AtlantisPleb
Author Public Key
npub1mgvwnpsqgrem7jfcwm7pdvdfz2h95mm04r23t8pau2uzxwsdnpgs0gpdjc