From 1b7da6ecbc8d2627eb61f8b056b413d8c63e839c Mon Sep 17 00:00:00 2001 From: maver Date: Fri, 30 Jun 2023 20:30:36 +0200 Subject: [PATCH] Remove faulty characters in default configuration --- public/scripts/PromptManager.js | 2 -- public/scripts/openai.js | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/public/scripts/PromptManager.js b/public/scripts/PromptManager.js index 3bde65058..0b4b63c61 100644 --- a/public/scripts/PromptManager.js +++ b/public/scripts/PromptManager.js @@ -1023,14 +1023,12 @@ const openAiDefaultPrompts = { "system_prompt": true, "marker": true, }, - , { "identifier": "charPersonality", "name": "Char Personality", "system_prompt": true, "marker": true, }, - , { "identifier": "scenario", "name": "Scenario", diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 200201795..6e8b8bc31 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -576,6 +576,7 @@ function populateChatCompletion (prompts, chatCompletion, {bias, quietPrompt, ty * @param {string} options.type - The type of the chat, can be 'impersonate'. * @param {string} options.quietPrompt - The quiet prompt to be used in the conversation. * @param {Array} options.extensionPrompts - An array of additional prompts. + * @param dryRun - Whether this is a live call or not. * @returns {(*[]|boolean)[]} An array where the first element is the prepared chat and the second element is a boolean flag. */ function prepareOpenAIMessages({