llama-cli how to include input in log file

Posted by reddit-doc@reddit | LocalLLaMA | View on Reddit | 2 comments

Hi there, this might be a stupid question, but how can I include my interactive input in the log file when I use llama-cli directly? Output in the terminal:

== Running in interactive mode. ==
 - Press Ctrl+C to interject at any time.
 - Press Return to return control to the AI.
 - To return control without starting a new line, end your input with '/'.
 - If you want to submit another line, end your input with '\'.
 - Not using system message. To change it, set a different value via -sys PROMPT


> Hello
Hello there! πŸ‘‹

How can I help you today? Are you looking to:

* **Chat?** Just want to talk about your day?
* **Get information?** Ask me a question about anything!
* **Brainstorm ideas?** Need help with a project or a problem?
* **Write something?** I can help with stories, poems, emails, and more.
* **Something else?**

Just let me know what's on your mind. I'm ready to listen (or, well, read)! 😊

> What is the result of 1+2
The result of 1 + 2 is **3**.

Simple as that! 😊 Is there anything else I can help you calculate?

>

Output in the log file (parameter --log-file):

== Running in interactive mode. ==
 - Press Ctrl+C to interject at any time.
 - Press Return to return control to the AI.
 - To return control without starting a new line, end your input with '/'.
 - If you want to submit another line, end your input with '\'.
 - Not using system message. To change it, set a different value via -sys PROMPT


> Hello there! πŸ‘‹

How can I help you today? Are you looking to:

* **Chat?** Just want to talk about your day?
* **Get information?** Ask me a question about anything!
* **Brainstorm ideas?** Need help with a project or a problem?
* **Write something?** I can help with stories, poems, emails, and more.
* **Something else?**

Just let me know what's on your mind. I'm ready to listen (or, well, read)! 😊

> The result of 1 + 2 is **3**.

Simple as that! 😊 Is there anything else I can help you calculate?

>

As you can see all my input is missing here.