diff --git a/src/providers/groq/chatComplete.ts b/src/providers/groq/chatComplete.ts index aa824f44..8478bd76 100644 --- a/src/providers/groq/chatComplete.ts +++ b/src/providers/groq/chatComplete.ts @@ -153,7 +153,7 @@ export const GroqChatCompleteStreamChunkTransform: ( index: parsedChunk.choices[0].index || 0, delta: {}, logprobs: null, - finish_reason: parsedChunk.choices[0].index, + finish_reason: parsedChunk.choices[0].finish_reason, }, ], usage: {