Skip to content

Commit

Permalink
When starting llama.cpp, explicitly use -cnv for converstion mode
Browse files Browse the repository at this point in the history
Signed-off-by: Eran Ifrah <[email protected]>
  • Loading branch information
eranif committed Jan 28, 2025
1 parent c9507bf commit e9eaa6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ChatAI/LLAMCli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ bool LLAMCli::StartProcess()
"--ctx-size",
"8192",
"-p",
CHATAI_PROMPT_STRING };
CHATAI_PROMPT_STRING,
"-cnv" /* converstion mode */ };

m_process = ::CreateAsyncProcess(
this, command, IProcessCreateWithHiddenConsole | IProcessStderrEvent | IProcessWrapInShell);
Expand Down

0 comments on commit e9eaa6a

Please sign in to comment.