Skip to content

Commit c239472

Browse files
committed
support anthropic_beta as a top level parameter for anthropic on bedrock
1 parent 4a30052 commit c239472

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/providers/bedrock/chatComplete.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,9 @@ export const BedrockConverseAnthropicChatCompleteConfig: ProviderConfig = {
741741
transformAnthropicAdditionalModelRequestFields(params),
742742
},
743743
anthropic_beta: {
744-
param: 'anthropic_beta',
744+
param: 'additionalModelRequestFields',
745+
transform: (params: BedrockConverseAnthropicChatCompletionsParams) =>
746+
transformAnthropicAdditionalModelRequestFields(params),
745747
},
746748
};
747749

0 commit comments

Comments
 (0)