Do not generate group responses on dry run

This commit is contained in:
maver
2023-07-13 20:05:55 +02:00
parent a706ecd48c
commit 4dd94a4a62
3 changed files with 24 additions and 10 deletions

View File

@ -139,7 +139,7 @@ class PromptCollection {
/**
* Retrieves the index of a Prompt instance in the collection by its identifier.
*
* @param {string} identifier - The identifier of the Prompt instance to find.
* @param {null} identifier - The identifier of the Prompt instance to find.
* @returns {number} The index of the Prompt instance in the collection, or -1 if not found.
*/
index(identifier) {
@ -1589,12 +1589,7 @@ const openAiDefaultPromptList = [
const defaultPromptManagerSettings = {
prompt_manager_settings: {
showAdvancedSettings: false,
utilityPrompts: {
newChat: '[Start a new Chat]',
newGroupChat: '[Start a new group chat. Group members: {{names}}]',
newExampleChat: '[Start a new Chat]',
}
showAdvancedSettings: false
}
};