#609 Export JSONL chat with octet-stream type

This commit is contained in:
Cohee
2023-07-01 23:55:53 +03:00
parent 3b4f8811e7
commit 596cd1762f

View File

@ -6963,7 +6963,7 @@ $(document).ready(function () {
toastr.error(`Error: ${data.message}`); toastr.error(`Error: ${data.message}`);
return; return;
} else { } else {
const mimeType = format == 'txt' ? 'text/plain' : 'application/json'; const mimeType = format == 'txt' ? 'text/plain' : 'application/octet-stream';
// success, handle response data // success, handle response data
console.log(data); console.log(data);
await delay(250); await delay(250);