added a dedicated pager library

This commit is contained in:
Luxferre
2025-12-21 14:05:03 +02:00
parent 03bfe86a6b
commit 1a340ca82b
3 changed files with 48 additions and 16 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ def clear_ctx(stub, state):
# main initialization
llm = LLMChat(config_file=CONFIG_FILE, message_limit=20)
chat = DeckChat(start_state=llm, chat_prefix='> ', paginate=8)
chat = DeckChat(start_state=llm, chat_prefix='> ')
chat.command('default', send_msg)
chat.command('clear', clear_ctx)
chat.command('system', set_sys_prompt)