From d1c024c740359195f1930fcf24d069b666ba481a Mon Sep 17 00:00:00 2001 From: Narendranath Gogineni Date: Tue, 9 Dec 2025 21:35:57 +0530 Subject: [PATCH] allow anthropic beta header for all routes on anthropic provider --- src/providers/anthropic/api.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/providers/anthropic/api.ts b/src/providers/anthropic/api.ts index 824525d82..ec4ac0aee 100644 --- a/src/providers/anthropic/api.ts +++ b/src/providers/anthropic/api.ts @@ -20,9 +20,7 @@ const AnthropicAPIConfig: ProviderAPIConfig = { gatewayRequestBody?.['anthropic_version'] ?? '2023-06-01'; - if (fn === 'chatComplete') { - headers['anthropic-beta'] = betaHeader; - } + headers['anthropic-beta'] = betaHeader; headers['anthropic-version'] = version; return headers; },