From 4070c9de81c1378d4e488417eb46c1cb1f827cfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EB=8C=80=ED=9D=AC?= Date: Sun, 21 Dec 2025 15:29:36 +0900 Subject: [PATCH] Remove interleaved-thinking header from requests Removes the addition of the "anthropic-beta: interleaved-thinking-2025-05-14" header for Claude thinking models when building HTTP requests. This prevents sending an experimental/feature flag header that is no longer required and avoids potential compatibility or routing issues with downstream services. Keeps request headers simpler and more standard. --- internal/runtime/executor/antigravity_executor.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/runtime/executor/antigravity_executor.go b/internal/runtime/executor/antigravity_executor.go index ddfcfc3f..38723e77 100644 --- a/internal/runtime/executor/antigravity_executor.go +++ b/internal/runtime/executor/antigravity_executor.go @@ -1021,12 +1021,6 @@ func (e *AntigravityExecutor) buildRequest(ctx context.Context, auth *cliproxyau httpReq.Header.Set("Content-Type", "application/json") httpReq.Header.Set("Authorization", "Bearer "+token) httpReq.Header.Set("User-Agent", resolveUserAgent(auth)) - - // Add interleaved-thinking header for Claude thinking models - if util.IsClaudeThinkingModel(modelName) { - httpReq.Header.Set("anthropic-beta", "interleaved-thinking-2025-05-14") - } - if stream { httpReq.Header.Set("Accept", "text/event-stream") } else {