Fix depth assignment in story-summary.js
This commit is contained in:
@@ -1048,11 +1048,11 @@ function updateSummaryExtensionPrompt() {
|
|||||||
|
|
||||||
let depth = length - lastIdx - 1;
|
let depth = length - lastIdx - 1;
|
||||||
if (depth < 0) depth = 0;
|
if (depth < 0) depth = 0;
|
||||||
|
depth = 1000;
|
||||||
extension_prompts[SUMMARY_PROMPT_KEY] = {
|
extension_prompts[SUMMARY_PROMPT_KEY] = {
|
||||||
value: text,
|
value: text,
|
||||||
position: extension_prompt_types.IN_CHAT,
|
position: extension_prompt_types.IN_CHAT,
|
||||||
1000,
|
depth,
|
||||||
role: extension_prompt_roles.ASSISTANT,
|
role: extension_prompt_roles.ASSISTANT,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user