Skip to content

Commit 7198356

Browse files
authored
🐛 FIX: Anthropic streaming (#104)
1 parent e1823c3 commit 7198356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/baseai/src/dev/providers/anthropic/chatComplete.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ export const AnthropicChatCompleteStreamChunkTransform: (
465465
choices: [
466466
{
467467
delta: {
468+
role: 'assistant',
468469
content: ''
469470
},
470471
index: 0,

0 commit comments

Comments
 (0)