From da4283154b44e6ca3a79573f919c85d70bf355a3 Mon Sep 17 00:00:00 2001 From: dirk1983 Date: Mon, 6 Mar 2023 00:14:05 +0800 Subject: [PATCH] Update chat.js --- js/chat.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/chat.js b/js/chat.js index c74023d..0966347 100644 --- a/js/chat.js +++ b/js/chat.js @@ -142,6 +142,7 @@ $(document).ready(function () { data: { message: prompt, context: (!($("#keep").length) || ($("#keep").prop("checked"))) ? JSON.stringify(contextarray) : '[]', + key: ($("#key").length) ? ($("#key").val()) : '', }, dataType: "json", success: function (results) {