From bcea4248c4fefa88aa862d62d0519ea5bcc853eb Mon Sep 17 00:00:00 2001 From: Wolfsblvt Date: Sun, 16 Feb 2025 03:21:02 +0100 Subject: [PATCH] Shouldn't parse reasoning if real reasoning there --- public/scripts/reasoning.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/public/scripts/reasoning.js b/public/scripts/reasoning.js index 11228486e..46582fd35 100644 --- a/public/scripts/reasoning.js +++ b/public/scripts/reasoning.js @@ -924,6 +924,11 @@ function registerReasoningAppEvents() { return null; } + if (message.extra?.reasoning) { + console.debug('[Reasoning] Message already has reasoning', idx); + return null; + } + const parsedReasoning = parseReasoningFromString(message.mes); // No reasoning block found