Update gpt_params_parse and fix a merge error
This commit is contained in:
parent
927afddf95
commit
2bb2ff1748
2 changed files with 9 additions and 19 deletions
|
@ -346,7 +346,7 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) {
|
|||
}
|
||||
if (params.prompt_cache_all &&
|
||||
(params.interactive || params.interactive_first ||
|
||||
params.instruct || params.antiprompt.size())) {
|
||||
params.instruct)) {
|
||||
fprintf(stderr, "error: --prompt-cache-all not supported in interactive mode yet\n");
|
||||
gpt_print_usage(argc, argv, default_params);
|
||||
exit(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue