From b7286059eee5455553b37bcf654ad3b97c36fcc1 Mon Sep 17 00:00:00 2001 From: Badri Narayanan S Date: Sat, 3 Jan 2026 22:13:35 +0530 Subject: [PATCH] remove targetFamily from analyzeConversationState --- src/format/thinking-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/format/thinking-utils.js b/src/format/thinking-utils.js index 9358311..83fa902 100644 --- a/src/format/thinking-utils.js +++ b/src/format/thinking-utils.js @@ -395,7 +395,7 @@ export function analyzeConversationState(messages) { * @returns {boolean} True if thinking recovery is needed */ export function needsThinkingRecovery(messages, targetFamily = null) { - const state = analyzeConversationState(messages, targetFamily); + const state = analyzeConversationState(messages); if (targetFamily === 'claude') { // Claude: only check if thinking is valid/compatible