Skip to content

Commit

Permalink
branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher David committed Dec 1, 2023
1 parent 8c27dc3 commit f955b5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Console/Commands/FaerieStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private function fixTests()
print_r($patches);
print_r("---");

$res = $patcher->submitPatchesToGitHub($patches, "ArcadeLabsInc/openagents", "vid32test5", false);
$res = $patcher->submitPatchesToGitHub($patches, "ArcadeLabsInc/openagents", "vid32test6", false);
print_r("RESPONSE:");
print_r($res);

Expand Down Expand Up @@ -235,7 +235,7 @@ public function writeCode()
print_r($patches);
print_r("---");

$res = $patcher->submitPatchesToGitHub($patches, "ArcadeLabsInc/openagents", "vid32test5");
$res = $patcher->submitPatchesToGitHub($patches, "ArcadeLabsInc/openagents", "vid32test6");
print_r("RESPONSE:");
print_r($res);

Expand Down
2 changes: 1 addition & 1 deletion app/Services/Patcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private function promptForNewFileContent($newFilePath, $issue)
private function promptForNewFiles()
{
$prompt = "Below is an issue on OpenAgents codebase.\nIssue: {$this->issue['title']} \n\n Issue body: {$this->issue['body']}\n";
$actionPrompt1 = "Please enter the file paths of any files that need to be created to resolve the issue. Separate multiple file paths with a comma.";
$actionPrompt1 = "Please enter the file paths of any files that need to be created to resolve the issue. Separate multiple file paths with a comma. If it's a feature test, make sure it goes in tests/Feature (not Features).";
$newFiles = $this->complete($prompt . $actionPrompt1);

if ($newFiles === '') {
Expand Down

0 comments on commit f955b5f

Please sign in to comment.