-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: SWE Agent Implementation #846
Conversation
Can you fix Github Issues whith this and create a PR? |
What github issues are you talking about? can you provide a screenshot or something for me to go off of? |
I mean like the SWE-Agent which can fix Github Issues. |
Ohhh, lol completely misread that the first time. I do not think it is currently capable of doing that, not sure tho. I am just implementing the agent framework, but there will definitely need to be more work done on getting web pages, formatting, submitting pull requests etc. for this to do what you were talking about before... |
Oh okay. Waiting for it :) |
@PierrunoYT There's some discussion and work here about using OpenDevin to work on OpenDevin GitHub issues. The agent quality with the currently implemented agents is pretty poor though. I'm excited to see a variant of SWE-agent implemented. |
Rad! @JayQuimby I'm curious how well it seems to work in practice. Have you thrown any examples at it? Edit: looks like it's not fully implemented yet |
@rbren, I have not tested it with gpt-4 / claude yet because it still needs some work. I will keep working on it, hope to have something usable in the next few days. |
agenthub/thinkact_agent/plans.md
Outdated
'search_for': { | ||
'params': '<keywords>', | ||
'description': 'Will allow you to search your working directory for files and folders that match your <keyword>.', | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely want to add a search_for
command. IMO it should be called search_files
so the LLM doesn't confuse it with searching on Google
Just want to drop this for passers-by, totally worth a watch if you have 20 mins: https://www.youtube.com/watch?v=RJ6NN8Y-xok |
@rbren can you look at this again, I think we are getting close to something that is usable. There are still some bugs we are working on fixing but the overall agent is there. |
|
@JayQuimby this is looking great! Only concern is the changing behavior of FileReadAction |
@JayQuimby Are you testing via the UI, or some other way? |
Changed this so the default behavior is just reading the whole file, also added negative indices to the command detection so the model can specify from any line to the end of the file. |
@foragerr I am testing with both gpt-4 and codellama using the sandbox. localhost:3001 gpt-4-turbo is best IMO. Have not run any tests on swe-bench. |
else: | ||
all_lines = file.readlines() | ||
num_lines = len(all_lines) | ||
begin = max(0, min(self.start, num_lines - 2)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this -2
?
Not sure whether I missed something? Does OpenDevin run the SWE-bench with the new SWE agent? what's the resolved rate of OpenDevin compared with the other Devin like open-source projects. @JayQuimby @rbren |
Implementing an agent that works similar to SWE-Agent
Agent Features:
Help / Suggestions:
Links/context:
Since SWE-Agent is so close to Devin in performance, I figure trying to emulate it and then iterate on it is the best route.