diff --git a/src/engine/providers/utils/open-ai-api.ts b/src/engine/providers/utils/open-ai-api.ts index b44d08d..55c8056 100644 --- a/src/engine/providers/utils/open-ai-api.ts +++ b/src/engine/providers/utils/open-ai-api.ts @@ -76,7 +76,7 @@ export async function getChatCompletionStream( }, responseTime, responseModel: lastChunk?.model || 'unknown', - data: chunks, + data: lastChunk, }; }