Skip to content

Commit

Permalink
fix: streaming msg
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxiao committed Feb 12, 2025
1 parent 45bb105 commit 959595f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 959595f

Please sign in to comment.