zen: fix aws bedrock header

This commit is contained in:
Frank
2026-03-03 23:45:41 -05:00
parent 3ebebe0a96
commit e4f0825c56

View File

@@ -43,7 +43,7 @@ export const anthropicHelper: ProviderHelper = ({ reqModel, providerModel }) =>
...(isBedrock
? {
anthropic_version: "bedrock-2023-05-31",
anthropic_beta: supports1m ? "context-1m-2025-08-07" : undefined,
anthropic_beta: supports1m ? ["context-1m-2025-08-07"] : undefined,
model: undefined,
stream: undefined,
}