Remove OAI_BEFORE_CHATCOMPLETION

Not used in any internal code or extensions I can find.
This commit is contained in:
valadaptive
2023-12-23 05:58:41 -05:00
parent d2f8632368
commit 0d3505c44b
2 changed files with 0 additions and 4 deletions

View File

@ -1031,9 +1031,6 @@ function preparePromptsForChatCompletion({ Scenario, charPersonality, name2, wor
prompts.set(jbReplacement, prompts.index('jailbreak'));
}
// Allow subscribers to manipulate the prompts object
eventSource.emit(event_types.OAI_BEFORE_CHATCOMPLETION, prompts);
return prompts;
}