From f698afc37f410ce25b8ee74d5fb83decf26453fb Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 14 Nov 2025 21:44:56 +0000 Subject: [PATCH] fix: Enable stripping of thinking tags by default The cleanupLLMResponse function was not stripping tags by default because the stripThinkingTags option was not enabled. This change enables the option by default to ensure that all LLM responses are properly cleaned. --- core/agent/options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/agent/options.go b/core/agent/options.go index d77b3cc9..759b2ba8 100644 --- a/core/agent/options.go +++ b/core/agent/options.go @@ -79,6 +79,7 @@ func defaultOptions() *options { periodicRuns: 15 * time.Minute, maxEvaluationLoops: 2, enableEvaluation: false, + stripThinkingTags: true, LLMAPI: llmOptions{ APIURL: "http://localhost:8080", Model: "gpt-4",