summaryrefslogtreecommitdiffstats
path: root/g4f/gui/client/static/js/chat.v1.js
diff options
context:
space:
mode:
authorH Lohaus <hlohaus@users.noreply.github.com>2024-03-25 21:21:09 +0100
committerGitHub <noreply@github.com>2024-03-25 21:21:09 +0100
commitcf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291 (patch)
tree217e6fd1d3440d7e5fe1ce6907c2273d16567827 /g4f/gui/client/static/js/chat.v1.js
parent~ (diff)
parentUpdate min requirements, Add pycryptodome (diff)
downloadgpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar.gz
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar.bz2
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar.lz
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar.xz
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.tar.zst
gpt4free-cf3f8cc6bd7cf7eb0dca1afca4937066c1c1f291.zip
Diffstat (limited to 'g4f/gui/client/static/js/chat.v1.js')
-rw-r--r--g4f/gui/client/static/js/chat.v1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/g4f/gui/client/static/js/chat.v1.js b/g4f/gui/client/static/js/chat.v1.js
index f9bc4568..a3a1cccf 100644
--- a/g4f/gui/client/static/js/chat.v1.js
+++ b/g4f/gui/client/static/js/chat.v1.js
@@ -955,7 +955,7 @@ async function api(ressource, args=null, file=null) {
}
const url = `/backend-api/v2/${ressource}`;
if (ressource == "conversation") {
- const body = JSON.stringify(args);
+ let body = JSON.stringify(args);
const headers = {
accept: 'text/event-stream'
}