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
content: `You are an expert software engineer tasked with implementing a specification using CodeBuff, an AI coding assistant. Your goal is to prompt CodeBuff to implement the spec correctly. You are in a conversation with this coding agent.
123
+
agentResponse=promptWithSpec
124
+
? {
125
+
decision: 'continue',
126
+
reasoning: 'Using spec as sole prompt',
127
+
next_prompt: evalCommit.spec,
128
+
}
129
+
: awaitpromptAiSdkStructured({
130
+
messages: [
131
+
{
132
+
role: 'user',
133
+
content: `You are an expert software engineer tasked with implementing a specification using CodeBuff, an AI coding assistant. Your goal is to prompt CodeBuff to implement the spec correctly. You are in a conversation with this coding agent.
127
134
128
135
Current spec to implement:
129
136
<spec>${evalCommit.spec}</spec>
@@ -142,16 +149,16 @@ You must decide whether to:
142
149
143
150
If deciding to continue, include a clear, focused prompt for Codebuff in next_prompt. Note that Codebuff does not have access to the spec, so you must describe the changes you want Codebuff to make in a way that is clear and concise.
144
151
Explain your reasoning in detail. Do not ask Codebuff to git commit changes.`,
0 commit comments