From 9868068cd6c0c49aadee803cb4b5f6cd82d7fb96 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Mon, 23 Mar 2026 16:19:26 -0700 Subject: [PATCH] AIX: Anthropic: disable the fix for reusing blocks (seems to have been fixed upstream now) --- .../server/dispatch/chatGenerate/parsers/anthropic.parser.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/aix/server/dispatch/chatGenerate/parsers/anthropic.parser.ts b/src/modules/aix/server/dispatch/chatGenerate/parsers/anthropic.parser.ts index 44a4e1618..8adf54376 100644 --- a/src/modules/aix/server/dispatch/chatGenerate/parsers/anthropic.parser.ts +++ b/src/modules/aix/server/dispatch/chatGenerate/parsers/anthropic.parser.ts @@ -13,7 +13,8 @@ import { RequestRetryError } from '../chatGenerate.retrier'; // configuration const ANTHROPIC_DEBUG_EVENT_SEQUENCE = false; // true: shows the sequence of events // NOTE: the following weakens protocol validation - remove if possible. testing with web search active to see if blocks come out of order -const ANTHROPIC_FIX_REUSED_BLOCK_INDEX = true; // [Anthropic, 2026-01-12] Block Start Index issue workaround +// NOTE: 2026-03-23: disabled, not useful any longer +const ANTHROPIC_FIX_REUSED_BLOCK_INDEX = false; // [Anthropic, 2026-01-12] Block Start Index issue workaround /** * [Anthropic, Opus-4.6] First text packet is '\n\n' - elide it