From 2d80f2ebb5902f4a2400227ab390f68f5b837e94 Mon Sep 17 00:00:00 2001 From: somebody Date: Wed, 19 Jul 2023 13:08:57 -0500 Subject: [PATCH] API: Fix getstorynums --- aiserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiserver.py b/aiserver.py index 6e55b943..c90d862c 100644 --- a/aiserver.py +++ b/aiserver.py @@ -8852,7 +8852,7 @@ def get_story_nums(): chunks = [] if koboldai_vars.gamestarted: chunks.append(0) - for num in koboldai_vars.actions.keys(): + for num in koboldai_vars.actions.actions.keys(): chunks.append(num + 1) return {"results": chunks}