Skip to content

Commit 1694e7d

Browse files
authored
Merge branch 'main' into feat/openai-realtime-api
2 parents 32c7af1 + 34e63eb commit 1694e7d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/providers/bedrock/chatComplete.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,8 @@ export const BedrockChatCompleteResponseTransform: (
347347
role: 'assistant',
348348
content: response.output.message.content
349349
.filter((content) => content.text)
350-
.reduce((acc, content) => acc + content.text + '\n', ''),
350+
.map((content) => content.text)
351+
.join('\n'),
351352
},
352353
finish_reason: response.stopReason,
353354
},

0 commit comments

Comments
 (0)