From 7d9776243d605a2eef16f8155fec97d7cde5f19c Mon Sep 17 00:00:00 2001 From: Will Chen Date: Thu, 3 Jul 2025 10:02:34 -0700 Subject: [PATCH] Remove thinking tags from incremental fixes (#552) --- src/ipc/handlers/chat_stream_handlers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ipc/handlers/chat_stream_handlers.ts b/src/ipc/handlers/chat_stream_handlers.ts index 20cd20a..aa13092 100644 --- a/src/ipc/handlers/chat_stream_handlers.ts +++ b/src/ipc/handlers/chat_stream_handlers.ts @@ -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({