Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /slash command system to chat mode, with memory related and /worldinfo commands #58

Draft
wants to merge 7 commits into
base: dev
Choose a base branch
from

Commits on Jan 27, 2024

  1. Add /slash command suport to chat

    * Adds a /help slash command to chat mode usable by both user and bot
    one-lithe-rune committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    fdd7da4 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Add / commands to chat for memory and world info

    * Refactor worldInfo retrieval into its own function
    * Add a /memorize command for chat mode
    * Add a /recall command for chat mode
    * Add a /worldinfo command for chat mode
    * Fixes to when and how / commands are parsed for both input and generation.
    one-lithe-rune committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    b321298 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2024

  1. Add localsettings for /commands

    * Add a setting + UI for enabling and disabling /commands for the AI.
    * Add a setting + UI for enabling and disabling /commands for the User.
    * Default these new settings to false/disabled.
    * Add a setting specifying the name that /command results are returned
    from. Default is 'System' (No UI)
    * Rename /command functions from snake_case to camelCase.
    one-lithe-rune committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    44ba115 View commit details
    Browse the repository at this point in the history
  2. Add templating for memory /command responses

    * Define the responses for memory /commands in `current_char_memory_templates`
    instead of hardcoding them in the code.
    * Save `current_char_memory_templates` settings alongside the character memories
    in the save file.
    * Fix /memorize and /recall behaviour, when no arguments given.
    * Remove some inappropriate newlines from /command responses.
    one-lithe-rune committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    7343a56 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a56092b View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. Rename/memorize to /note

    * Rename /memorize to /note and update function
    and variable names to match.
    one-lithe-rune committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    b82c3fb View commit details
    Browse the repository at this point in the history
  2. Merge branch 'add_slash_commands' of github.com:one-lithe-rune/lite.k…

    …oboldai.net into add_slash_commands
    one-lithe-rune committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    2fe5517 View commit details
    Browse the repository at this point in the history