Fix cell size error in sheets (khanon/oai-reverse-proxy!26)

This commit is contained in:
goanon016
2023-07-16 08:35:42 +00:00
committed by khanon
parent 7478112077
commit f6f13f7955
+3 -3
View File
@@ -256,9 +256,9 @@ export const appendBatch = async (batch: PromptLogEntry[]) => {
return [
entry.model,
entry.endpoint,
entry.promptRaw,
entry.promptFlattened,
entry.response,
entry.promptRaw.slice(0, 50000),
entry.promptFlattened.slice(0, 50000),
entry.response.slice(0, 50000),
];
});
log.info({ sheetName, rowCount: newRows.length }, "Appending log batch.");