Skip to content
Snippets Groups Projects
Commit f417ffd5 authored by timothycarambat's avatar timothycarambat
Browse files

resolves #2926

floor ms value
parent d52249af
Branches
Tags
No related merge requests found
...@@ -475,7 +475,7 @@ function formatJSON( ...@@ -475,7 +475,7 @@ function formatJSON(
const data = { const data = {
id: chat.uuid ?? chat.id, id: chat.uuid ?? chat.id,
object: "chat.completion", object: "chat.completion",
created: Number(new Date()) / 1000, // in seconds created: Math.floor(Number(new Date()) / 1000),
model: model, model: model,
choices: [ choices: [
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment