You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Agent, LLM] Make sure codeact agent produce message in u/a/u/a order (#3193)
* make sure codeact agent produce message in u/a/u/a order
* integration tests
* sync message changes to codeact swe
* fix integration tests
---------
Co-authored-by: Engel Nyst <[email protected]>
Copy file name to clipboardexpand all lines: tests/integration/mock/CodeActSWEAgent/test_edits/prompt_005.log
+29-31
Original file line number
Diff line number
Diff line change
@@ -587,8 +587,6 @@ exit
587
587
588
588
NOW, LET'S START!
589
589
590
-
----------
591
-
592
590
Fix typos in bad.txt. Do not ask me for confirmation at any point.
593
591
594
592
----------
@@ -601,13 +599,13 @@ open_file("bad.txt")
601
599
----------
602
600
603
601
OBSERVATION:
604
-
[File: /workspace/bad.txt (4 lines total)]
605
-
(this is the beginning of the file)
606
-
1|This is a stupid typoo.
607
-
2|Really?
608
-
3|No mor typos!
609
-
4|Enjoy!
610
-
(this is the end of the file)
602
+
[File: /workspace/bad.txt (4 lines total)]
603
+
(this is the beginning of the file)
604
+
1|This is a stupid typoo.
605
+
2|Really?
606
+
3|No mor typos!
607
+
4|Enjoy!
608
+
(this is the end of the file)
611
609
612
610
613
611
----------
@@ -629,12 +627,12 @@ edit_file_by_replace(
629
627
----------
630
628
631
629
OBSERVATION:
632
-
[No exact match found in bad.txt for
633
-
```
634
-
This is a stupid typoo.
635
-
No mor typos!
636
-
```
637
-
]
630
+
[No exact match found in bad.txt for
631
+
```
632
+
This is a stupid typoo.
633
+
No mor typos!
634
+
```
635
+
]
638
636
639
637
640
638
----------
@@ -656,14 +654,14 @@ edit_file_by_replace(
656
654
----------
657
655
658
656
OBSERVATION:
659
-
[File: /workspace/bad.txt (4 lines total after edit)]
660
-
(this is the beginning of the file)
661
-
1|This is a stupid typo.
662
-
2|Really?
663
-
3|No mor typos!
664
-
4|Enjoy!
665
-
(this is the end of the file)
666
-
[File updated (edited at line 1). Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary.]
657
+
[File: /workspace/bad.txt (4 lines total after edit)]
658
+
(this is the beginning of the file)
659
+
1|This is a stupid typo.
660
+
2|Really?
661
+
3|No mor typos!
662
+
4|Enjoy!
663
+
(this is the end of the file)
664
+
[File updated (edited at line 1). Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary.]
667
665
668
666
669
667
----------
@@ -680,14 +678,14 @@ edit_file_by_replace(
680
678
----------
681
679
682
680
OBSERVATION:
683
-
[File: /workspace/bad.txt (4 lines total after edit)]
684
-
(this is the beginning of the file)
685
-
1|This is a stupid typo.
686
-
2|Really?
687
-
3|No more typos!
688
-
4|Enjoy!
689
-
(this is the end of the file)
690
-
[File updated (edited at line 3). Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary.]
681
+
[File: /workspace/bad.txt (4 lines total after edit)]
682
+
(this is the beginning of the file)
683
+
1|This is a stupid typo.
684
+
2|Really?
685
+
3|No more typos!
686
+
4|Enjoy!
687
+
(this is the end of the file)
688
+
[File updated (edited at line 3). Please review the changes and make sure they are correct (correct indentation, no duplicate lines, etc). Edit the file again if necessary.]
691
689
692
690
693
691
ENVIRONMENT REMINDER: You have 10 turns left to complete the task.
0 commit comments