Remove thinking tags from incremental fixes (#552)

This commit is contained in:
Will Chen
2025-07-03 10:02:34 -07:00
committed by GitHub
parent c3362fdaff
commit 7d9776243d

View File

@@ -733,7 +733,7 @@ ${problemReport.problems
}),
{
role: "assistant",
content: originalFullResponse,
content: removeNonEssentialTags(originalFullResponse),
},
...previousAttempts,
{ role: "user", content: problemFixPrompt },
@@ -753,7 +753,7 @@ ${problemReport.problems
fullResponse = result.fullResponse;
previousAttempts.push({
role: "assistant",
content: result.incrementalResponse,
content: removeNonEssentialTags(result.incrementalResponse),
});
problemReport = await generateProblemReport({