Skill issue

This commit is contained in:
Cohee 2023-09-24 15:04:02 +03:00
parent 9bc3e4e47c
commit 423f88a458
1 changed files with 6 additions and 4 deletions

View File

@ -2591,10 +2591,12 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
const storyString = renderStoryString(storyStringParams);
// Add all depth WI entries to prompt
if (Array.isArray(worldInfoDepth)) {
worldInfoDepth.forEach((e) => {
const joinedEntries = e.entries.join("\n");
setExtensionPrompt(`customDepthWI-${e.depth}`, joinedEntries, extension_prompt_types.IN_CHAT, e.depth)
});
}
if (main_api === 'openai') {
message_already_generated = '';