It reworks the interactive mode into a chat interface, which -if my code was cleaner- could have just been a pull request.
https://github.com/ggerganov/llama.cpp/blob/master/main.cpp#...
EDIT: I see now you are saying you re-worked the existing interactive mode. I still think your changes could be a PR into the original repo