Skip to content

Clear New Cmd

/clear aka /new Command

  1. We will add a new command /clear aka /new to the REPL. We have the following requirements:

  2. Reset the conversation history

  3. Clean the terminal screen and start a new session
  4. Show the KEEN CODE logo and the welcome message that we already show when the REPL starts
  5. Update the context status accordingly
  6. Show a brief message ":tick: New session started"

Do you have any other suggestions for the requirements?

  1. Ok let's implement it.