fix: streaming msg

This commit is contained in:
Han Xiao 2025-02-12 10:05:32 +08:00
parent 45bb105ad5
commit 959595f971

View File

@ -220,8 +220,8 @@ async function processQueue(streamingState: StreamingState, res: Response, reque
const newlineChunk: ChatCompletionChunk = {
id: requestId,
object: 'chat.completion.chunk',
created: Math.floor(Date.now() / 1000),
model: model,
created,
model,
system_fingerprint: 'fp_' + requestId,
choices: [{
index: 0,