Eric Curtin
1bf839b1e8
Enhance user input handling for llama-run ( #11138 )
...
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 <ecurtin@redhat.com>
2025-01-08 18:47:05 +00:00
..
2025-01-06 10:55:18 +02:00
2025-01-06 10:55:18 +02:00
2024-09-13 09:53:38 +03:00
2025-01-07 18:01:58 +01:00
2025-01-07 18:01:58 +01:00
2024-12-04 23:19:20 +01:00
2025-01-03 10:18:53 +02:00
2025-01-03 10:18:53 +02:00
2025-01-07 18:01:58 +01:00
2024-12-19 17:42:13 +02:00
2024-11-29 21:54:58 +01:00
2025-01-07 18:01:58 +01:00
2025-01-07 18:01:58 +01:00
2025-01-07 18:01:58 +01:00
2025-01-06 10:55:18 +02:00
2025-01-03 10:18:53 +02:00
2025-01-03 10:18:53 +02:00
2024-06-13 00:41:52 +01:00
2025-01-06 10:55:18 +02:00
2024-12-30 14:35:13 +02:00
2024-12-08 13:14:54 +02:00
2025-01-07 18:01:58 +01:00
2025-01-03 10:18:53 +02:00
2025-01-03 10:18:53 +02:00
2025-01-06 10:52:15 +02:00
2024-11-29 21:54:58 +01:00
2025-01-03 10:18:53 +02:00
2025-01-06 10:55:18 +02:00
2025-01-03 10:18:53 +02:00
2024-12-11 16:16:32 +01:00
2025-01-06 10:55:18 +02:00
2025-01-03 10:18:53 +02:00
2024-12-23 10:39:30 +02:00
2025-01-08 18:47:05 +00:00
2025-01-03 10:18:53 +02:00
2025-01-08 12:55:36 +02:00
2025-01-06 10:55:18 +02:00
2025-01-06 10:55:18 +02:00
2025-01-03 10:18:53 +02:00
2025-01-03 10:18:53 +02:00
2024-09-18 08:30:31 +08:00
2025-01-06 10:55:18 +02:00
2025-01-03 10:18:53 +02:00
2023-03-29 20:21:09 +03:00
2024-06-13 00:41:52 +01:00
2024-11-09 09:06:54 +02:00
2024-06-13 00:41:52 +01:00
2024-06-13 00:41:52 +01:00
2024-12-18 19:27:21 +02:00
2024-11-13 21:10:38 +11:00
2024-07-07 15:04:39 -04:00
2024-10-16 19:03:24 +03:00
2024-10-23 17:16:56 +03:00
2023-08-30 09:50:55 +03:00
2024-06-13 00:41:52 +01:00
2024-07-20 22:09:17 -04:00
2024-07-14 19:51:21 -04:00
2024-06-13 00:41:52 +01:00
2024-07-05 07:53:33 +03:00
2024-07-07 15:04:39 -04:00
2024-06-13 00:41:52 +01:00
2024-04-12 19:43:38 +01:00