mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Hopefully better infinity scroll
This commit is contained in:
@@ -9056,7 +9056,7 @@ def UI_2_get_next_100_actions(data):
|
||||
data_to_send = []
|
||||
for i in reversed(list(koboldai_vars.actions.actions)):
|
||||
if i < data:
|
||||
if sent >= 50:
|
||||
if sent >= 100:
|
||||
break
|
||||
data_to_send.append({"id": i, "action": koboldai_vars.actions.actions[i]})
|
||||
sent += 1
|
||||
|
Reference in New Issue
Block a user