diff options
author | vvhg1 <94630311+vvhg1@users.noreply.github.com> | 2023-10-02 09:42:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 10:42:02 +0300 |
commit | c97f01c362ac102c6994edb80008f8608539553a (patch) | |
tree | c73baa81f489587329c3f768a3b940e353233012 /common/common.cpp | |
parent | f5ef5cfb18148131fcf45bdd2331f0db5ab7c3d0 (diff) |
infill : add new example + extend server API (#3296)
* vvhg-code-infill (#1)
* infill in separate example (#2)
* reverted changes to main and added infill example
* cleanup
* naming improvement
* make : add missing blank line
* fix missing semicolon
* brought infill up to current main code
* cleanup
---------
Co-authored-by: Cebtenzzre <cebtenzzre@gmail.com>
Diffstat (limited to 'common/common.cpp')
-rw-r--r-- | common/common.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/common.cpp b/common/common.cpp index ec181c6b..4b233786 100644 --- a/common/common.cpp +++ b/common/common.cpp @@ -389,6 +389,8 @@ bool gpt_params_parse(int argc, char ** argv, gpt_params & params) { params.interactive_first = true; } else if (arg == "-ins" || arg == "--instruct") { params.instruct = true; + } else if (arg == "--infill") { + params.infill = true; } else if (arg == "--multiline-input") { params.multiline_input = true; } else if (arg == "--simple-io") { |