Magic commands can be used to control the interpreter’s behavior in interactive mode:

  • %verbose [true/false]: Toggle verbose mode
  • %reset: Reset the current session
  • %undo: Remove the last message and its response
  • %save_message [path]: Save messages to a JSON file
  • %load_message [path]: Load messages from a JSON file