Update gpt_params_parse and fix a merge error

This commit is contained in:
Jason McCartney 2023-05-11 21:00:11 -07:00
parent 927afddf95
commit 2bb2ff1748
2 changed files with 9 additions and 19 deletions

View file

@ -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);