feat: compress audio

Co-Authored-By: Beck Bekmyradov <47065940+bekmuradov@users.noreply.github.com>
This commit is contained in:
Timothy J. BaekandBeck Bekmyradov committed 2024-09-30 00:30:12 +02:00
1 parent 8206c47a47
commit 7152af949b
3 files changed
+139 -97

No files matched your search

+1 -1
View File
@@ -700,7 +700,7 @@
childrenIds: [],
role: 'user',
content: userPrompt,
files: chatFiles.length > 0 ? chatFiles : undefined,
files: _files.length > 0 ? _files : undefined,
timestamp: Math.floor(Date.now() / 1000), // Unix epoch
models: selectedModels
};