mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
API: Fix getstorynums
This commit is contained in:
@@ -8852,7 +8852,7 @@ def get_story_nums():
|
|||||||
chunks = []
|
chunks = []
|
||||||
if koboldai_vars.gamestarted:
|
if koboldai_vars.gamestarted:
|
||||||
chunks.append(0)
|
chunks.append(0)
|
||||||
for num in koboldai_vars.actions.keys():
|
for num in koboldai_vars.actions.actions.keys():
|
||||||
chunks.append(num + 1)
|
chunks.append(num + 1)
|
||||||
return {"results": chunks}
|
return {"results": chunks}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user