Skip to content

Commit 9624b29

Browse files
committed
continue even if superagent does not provide a prompt
1 parent 7cd1c1a commit 9624b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

evals/git-evals/run-git-evals.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Explain your reasoning in detail.`,
147147
console.log('Agent reasoning:', agentResponse.reasoning)
148148

149149
if (agentResponse.decision === 'continue' && !agentResponse.next_prompt) {
150-
throw new Error('Agent decided to continue but provided no next_prompt')
150+
agentResponse.next_prompt = 'continue'
151151
}
152152

153153
// If continuing, run CodeBuff with the agent's prompt

0 commit comments

Comments
 (0)