Remove thinking tags from incremental fixes (#552)
This commit is contained in:
@@ -733,7 +733,7 @@ ${problemReport.problems
|
|||||||
}),
|
}),
|
||||||
{
|
{
|
||||||
role: "assistant",
|
role: "assistant",
|
||||||
content: originalFullResponse,
|
content: removeNonEssentialTags(originalFullResponse),
|
||||||
},
|
},
|
||||||
...previousAttempts,
|
...previousAttempts,
|
||||||
{ role: "user", content: problemFixPrompt },
|
{ role: "user", content: problemFixPrompt },
|
||||||
@@ -753,7 +753,7 @@ ${problemReport.problems
|
|||||||
fullResponse = result.fullResponse;
|
fullResponse = result.fullResponse;
|
||||||
previousAttempts.push({
|
previousAttempts.push({
|
||||||
role: "assistant",
|
role: "assistant",
|
||||||
content: result.incrementalResponse,
|
content: removeNonEssentialTags(result.incrementalResponse),
|
||||||
});
|
});
|
||||||
|
|
||||||
problemReport = await generateProblemReport({
|
problemReport = await generateProblemReport({
|
||||||
|
|||||||
Reference in New Issue
Block a user