try fix nextchapter bug

This commit is contained in:
CakeCN
2025-12-13 18:16:34 +08:00
parent ac74c28f64
commit af0ebda419
3 changed files with 1 additions and 1 deletions

View File

@@ -120,6 +120,7 @@ class ChatManager:
def next_chapter(self):
print(f"now next chapter {self.chapter_chain_now} and len {len(self.chapter_chain)}")
assert self.chapter_chain_now + 1 < len(self.chapter_chain), "chapter_chain_now out of range"
self.chapter_chain_now += 1
self.bb.next_chapter()

View File

@@ -1,4 +1,3 @@
.add-step-btn, .add-phase-btn {
background-color: #4CAF50;
color: white;