mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-08-13 02:16:18 +00:00
tokenize : drop --stdin mutual-exclusion check (#25672)
match cli and completion, which don't enforce it
This commit is contained in:
parent
c3d47e696b
commit
aff6eb6e75
2 changed files with 3 additions and 11 deletions
|
|
@ -2932,7 +2932,7 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
|
|||
).set_examples({LLAMA_EXAMPLE_TOKENIZE}));
|
||||
add_opt(common_arg(
|
||||
{"--stdin"},
|
||||
string_format("read the prompt from stdin (mutually exclusive with -f/--file and -p/--prompt) (default: %s)", params.tokenize_stdin ? "true" : "false"),
|
||||
string_format("read the prompt from stdin (takes precedence over -f/--file and -p/--prompt) (default: %s)", params.tokenize_stdin ? "true" : "false"),
|
||||
[](common_params & params) {
|
||||
params.tokenize_stdin = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue