forked from All-Hands-AI/OpenHands
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed config from agent controller (All-Hands-AI#3038)
* Removed config from agent controller * Fix tests * Increase budget * Update tests * Update prompts * Add missing prompt * Fix mistaken deletions * Fix browsing test * Fixed browse tests
- Loading branch information
Showing
24 changed files
with
847 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/integration/mock/CodeActAgent/test_browse_internet/response_001.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Certainly! I'll browse localhost:8000 and retrieve the ultimate answer to life for you. | ||
Sure! Let me browse the server's homepage at http://localhost:8000 to find the ultimate answer to life. | ||
|
||
<execute_browse> | ||
Get the content on "http://localhost:8000" |
5 changes: 1 addition & 4 deletions
5
tests/integration/mock/CodeActAgent/test_browse_internet/response_002.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
To accomplish our goal of retrieving the ultimate answer to life from localhost:8000, I need to start by accessing the content on that page. Here's my thought process and action: | ||
|
||
In order to accomplish my goal, I need to navigate to the specified URL using the goto action. | ||
|
||
In order to accomplish my goal, I need to navigate to the server's homepage at http://localhost:8000 to find the ultimate answer to life. | ||
```goto("http://localhost:8000" |
6 changes: 1 addition & 5 deletions
6
tests/integration/mock/CodeActAgent/test_browse_internet/response_003.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,2 @@ | ||
To accomplish our goal of retrieving the ultimate answer to life, we need to click on the "Click me" button. The button has a bid of 10, so we should click on it. | ||
|
||
Here's the action I'll take: | ||
|
||
In order to accomplish my goal, I need to click on the button with bid 10 | ||
In order to accomplish my goal, I need to click on the button with bid 10 to reveal the answer to life, the universe, and everything. | ||
```click("10" |
7 changes: 2 additions & 5 deletions
7
tests/integration/mock/CodeActAgent/test_browse_internet/response_004.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
Based on the current Accessibility Tree and the previous actions taken, it appears that we have already successfully navigated to the webpage and clicked the button to reveal the answer. The answer is now visible on the page. | ||
In order to accomplish my goal, I need to read the static text that reveals the answer to life, the universe, and everything. The text is already visible and states "The answer is OpenDevin is all you need!" | ||
|
||
To accomplish our goal of retrieving the ultimate answer to life, I will now send this information to the user: | ||
|
||
``` | ||
send_msg_to_user("The ultimate answer to life, the universe, and everything is: OpenDevin is all you need!" | ||
```send_msg_to_user("The answer to life, the universe, and everything is: OpenDevin is all you need!" |
9 changes: 3 additions & 6 deletions
9
tests/integration/mock/CodeActAgent/test_browse_internet/response_005.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
Thank you for providing the content from localhost:8000. Based on the information retrieved, I can now answer your question about the ultimate answer to life. | ||
The content of the server's homepage at http://localhost:8000 is: | ||
|
||
The ultimate answer to life, according to the content on localhost:8000, is: | ||
|
||
"OpenDevin is all you need!" | ||
|
||
This appears to be a playful reference to the popular science fiction series "The Hitchhiker's Guide to the Galaxy" by Douglas Adams, where the answer to the ultimate question of life, the universe, and everything is famously "42". In this case, it's been adapted to promote OpenDevin as the ultimate solution. | ||
"The answer to life, the universe, and everything is: OpenDevin is all you need!" | ||
|
||
If you have any further questions or tasks, feel free to ask! | ||
<finish></finish> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.