Skill issue
This commit is contained in:
parent
9bc3e4e47c
commit
423f88a458
|
@ -2591,10 +2591,12 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||||
const storyString = renderStoryString(storyStringParams);
|
const storyString = renderStoryString(storyStringParams);
|
||||||
|
|
||||||
// Add all depth WI entries to prompt
|
// Add all depth WI entries to prompt
|
||||||
|
if (Array.isArray(worldInfoDepth)) {
|
||||||
worldInfoDepth.forEach((e) => {
|
worldInfoDepth.forEach((e) => {
|
||||||
const joinedEntries = e.entries.join("\n");
|
const joinedEntries = e.entries.join("\n");
|
||||||
setExtensionPrompt(`customDepthWI-${e.depth}`, joinedEntries, extension_prompt_types.IN_CHAT, e.depth)
|
setExtensionPrompt(`customDepthWI-${e.depth}`, joinedEntries, extension_prompt_types.IN_CHAT, e.depth)
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
if (main_api === 'openai') {
|
if (main_api === 'openai') {
|
||||||
message_already_generated = '';
|
message_already_generated = '';
|
||||||
|
|
Loading…
Reference in New Issue