Fix depth assignment in story-summary.js

This commit is contained in:
EVA09
2026-01-15 10:12:15 +08:00
committed by GitHub
parent c3efac8def
commit 7e0f2404bb

View File

@@ -1048,11 +1048,11 @@ function updateSummaryExtensionPrompt() {
let depth = length - lastIdx - 1;
if (depth < 0) depth = 0;
depth = 1000;
extension_prompts[SUMMARY_PROMPT_KEY] = {
value: text,
position: extension_prompt_types.IN_CHAT,
1000,
depth,
role: extension_prompt_roles.ASSISTANT,
};
}