diff --git a/src/providers/bedrock/chatComplete.ts b/src/providers/bedrock/chatComplete.ts index a972f751..6971a9e6 100644 --- a/src/providers/bedrock/chatComplete.ts +++ b/src/providers/bedrock/chatComplete.ts @@ -553,11 +553,6 @@ export const BedrockConverseCohereChatCompleteConfig: ProviderConfig = { transform: (params: BedrockConverseCohereChatCompletionsParams) => transformCohereAdditionalModelRequestFields(params), }, - stream: { - param: 'additionalModelRequestFields', - transform: (params: BedrockConverseCohereChatCompletionsParams) => - transformCohereAdditionalModelRequestFields(params), - }, }; export const BedrockConverseAI21ChatCompleteConfig: ProviderConfig = { diff --git a/src/providers/bedrock/utils.ts b/src/providers/bedrock/utils.ts index 3da51e4c..f0367ce3 100644 --- a/src/providers/bedrock/utils.ts +++ b/src/providers/bedrock/utils.ts @@ -120,9 +120,6 @@ export const transformCohereAdditionalModelRequestFields = ( if (params['logit_bias']) { additionalModelRequestFields['logitBias'] = params['logit_bias']; } - if (params['stream']) { - additionalModelRequestFields['stream'] = params['stream']; - } return additionalModelRequestFields; };