Skip to content

Commit 1072583

Browse files
committed
fix: groq finish reason mapping
1 parent c8455a4 commit 1072583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/groq/chatComplete.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const GroqChatCompleteStreamChunkTransform: (
153153
index: parsedChunk.choices[0].index || 0,
154154
delta: {},
155155
logprobs: null,
156-
finish_reason: parsedChunk.choices[0].index,
156+
finish_reason: parsedChunk.choices[0].finish_reason,
157157
},
158158
],
159159
usage: {

0 commit comments

Comments
 (0)