File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,8 @@ const BedrockConfig: ProviderConfigs = {
111
111
responseTransforms : {
112
112
'stream-complete' : BedrockAnthropicCompleteStreamChunkTransform ,
113
113
complete : BedrockAnthropicCompleteResponseTransform ,
114
+ messages : BedrockMessagesResponseTransform ,
115
+ 'stream-messages' : BedrockConverseMessagesStreamChunkTransform ,
114
116
} ,
115
117
} ;
116
118
break ;
@@ -210,8 +212,6 @@ const BedrockConfig: ProviderConfigs = {
210
212
config . responseTransforms = {
211
213
...( config . responseTransforms ?? { } ) ,
212
214
'stream-chatComplete' : BedrockChatCompleteStreamChunkTransform ,
213
- messages : BedrockMessagesResponseTransform ,
214
- 'stream-messages' : BedrockConverseMessagesStreamChunkTransform ,
215
215
} ;
216
216
}
217
217
if ( ! config . responseTransforms ?. chatComplete ) {
You can’t perform that action at this time.
0 commit comments