Skip to content

Conversation

@ericcurtin
Copy link
Collaborator

@ericcurtin ericcurtin commented Jan 8, 2025

The main motivation for this change is it was not handing
ctrl-c/ctrl-d correctly. Modify read_user_input to handle EOF,
"/bye" command, and empty input cases. Introduce get_user_input
function to manage user input loop and handle different return
cases.

@ericcurtin ericcurtin force-pushed the run-ctrl-d branch 2 times, most recently from f30e0fa to 077b05e Compare January 8, 2025 15:30
The main motivation for this change is it was not handing
ctrl-c/ctrl-d correctly. Modify `read_user_input` to handle EOF,
"/bye" command, and empty input cases. Introduce `get_user_input`
function to manage user input loop and handle different return
cases.

Signed-off-by: Eric Curtin <[email protected]>
@ericcurtin ericcurtin merged commit 1bf839b into ggml-org:master Jan 8, 2025
48 checks passed
@ericcurtin ericcurtin deleted the run-ctrl-d branch January 8, 2025 18:47
tinglou pushed a commit to tinglou/llama.cpp that referenced this pull request Feb 13, 2025
The main motivation for this change is it was not handing
ctrl-c/ctrl-d correctly. Modify `read_user_input` to handle EOF,
"/bye" command, and empty input cases. Introduce `get_user_input`
function to manage user input loop and handle different return
cases.

Signed-off-by: Eric Curtin <[email protected]>
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
The main motivation for this change is it was not handing
ctrl-c/ctrl-d correctly. Modify `read_user_input` to handle EOF,
"/bye" command, and empty input cases. Introduce `get_user_input`
function to manage user input loop and handle different return
cases.

Signed-off-by: Eric Curtin <[email protected]>
mglambda pushed a commit to mglambda/llama.cpp that referenced this pull request Mar 8, 2025
The main motivation for this change is it was not handing
ctrl-c/ctrl-d correctly. Modify `read_user_input` to handle EOF,
"/bye" command, and empty input cases. Introduce `get_user_input`
function to manage user input loop and handle different return
cases.

Signed-off-by: Eric Curtin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants