SiLLM icon indicating copy to clipboard operation
SiLLM copied to clipboard

Modifications to sillm.chat

Open magnusviri opened this issue 2 months ago • 3 comments

I've modified sillm.chat a lot. Let me know what you would be interested in adding to your repo and I'll put those changes in my fork and do a pull request. Here's a list of changes.

  • Arrow key support, including history. This requires the cmd module.
  • Pressing esc while generating a reply stops it. This requires tty, termios, select, and sys modules.
  • Debug messages, user chat, and assistant chat are all colored differently. The colors are not settable at this point, nor is disabling color output.
  • Uses "/" to do commands. Everything else (including "." and "") are sent to the assistant.
  • /exit, /help - kind of obvious.
  • /seed, /temperature, /max_tokens, /system_prompt - sets the values.
  • /clear - resets the conversation.
  • /conversation - print the conversation.
  • /rewrite - rewrite the last assistant reply and put that in the conversation (I have bug in this somewhere because it doesn't always work).
  • /settings - print the settings (seed, temp, max tokens).

magnusviri avatar Apr 25 '24 03:04 magnusviri