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

resolves #2926

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