enh: code execution settings

This commit is contained in:
Timothy Jaeryang Baek committed 2025-02-17 16:25:50 -08:00
1 parent 3df6fa7ccb
commit 2f75eef499
15 files changed
+478 -213

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@
const downloadPdf = async () => {
const history = chat.chat.history;
const messages = createMessagesList(history, history.currentId);
const blob = await downloadChatAsPDF(chat.chat.title, messages);
const blob = await downloadChatAsPDF(localStorage.token, chat.chat.title, messages);
// Create a URL for the blob
const url = window.URL.createObjectURL(blob);
@@ -83,7 +83,7 @@
const history = chat.chat.history;
const messages = createMessagesList(history, history.currentId);
const blob = await downloadChatAsPDF(chat.chat.title, messages);
const blob = await downloadChatAsPDF(localStorage.token, chat.chat.title, messages);
// Create a URL for the blob
const url = window.URL.createObjectURL(blob);