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.
Bug fix: add error observation to history (All-Hands-AI#2610)
* Bug fix: add error observation to history * Regenerate to demonstrate format error
- Loading branch information
Showing
11 changed files
with
87 additions
and
132 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
95 changes: 0 additions & 95 deletions
95
tests/integration/mock/ManagerAgent/test_simple_task_rejection/prompt_007.log
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
tests/integration/mock/ManagerAgent/test_simple_task_rejection/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,7 +1,9 @@ | ||
```json | ||
{ | ||
"action": "delegate", | ||
"args": { | ||
"agent": "CommitWriterAgent", | ||
"inputs": {} | ||
} | ||
} | ||
``` |
2 changes: 2 additions & 0 deletions
2
tests/integration/mock/ManagerAgent/test_simple_task_rejection/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,6 +1,8 @@ | ||
```json | ||
{ | ||
"action": "run", | ||
"args": { | ||
"command": "git status" | ||
} | ||
} | ||
``` |
2 changes: 2 additions & 0 deletions
2
tests/integration/mock/ManagerAgent/test_simple_task_rejection/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,8 @@ | ||
```json | ||
{ | ||
"action": "reject", | ||
"args": { | ||
"reason": "Not a valid git repository." | ||
} | ||
} | ||
``` |
6 changes: 5 additions & 1 deletion
6
tests/integration/mock/ManagerAgent/test_simple_task_rejection/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,6 +1,10 @@ | ||
```json | ||
{ | ||
"action": "reject", | ||
"args": { | ||
"reason": "Not a valid git repository." | ||
"outputs": { | ||
"reason": "Not a valid git repository." | ||
} | ||
} | ||
} | ||
``` |
4 changes: 3 additions & 1 deletion
4
tests/integration/mock/ManagerAgent/test_simple_task_rejection/response_006.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,8 +1,10 @@ | ||
```json | ||
{ | ||
"action": "reject", | ||
"args": { | ||
"outputs": { | ||
"reason": "Not a valid git repository." | ||
"reason": "CommitWriterAgent failed because the current directory is not a valid git repository. No other agents can resolve this issue." | ||
} | ||
} | ||
} | ||
``` |
8 changes: 0 additions & 8 deletions
8
tests/integration/mock/ManagerAgent/test_simple_task_rejection/response_007.log
This file was deleted.
Oops, something went wrong.