We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcaf91e commit ac6de5aCopy full SHA for ac6de5a
examples/main/main.cpp
@@ -276,7 +276,7 @@ int main(int argc, char ** argv) {
276
{
277
auto prompt = (params.conversation_mode && params.enable_chat_template)
278
// format the system prompt in conversation mode (fallback to default if empty)
279
- ? chat_add_and_format("system", params.prompt.empty() ? DEFAULT_SYSTEM_MESSAGE : params.prompt)
+ ? chat_add_and_format("system", params.system_prompt.empty() ? DEFAULT_SYSTEM_MESSAGE : params.system_prompt)
280
// otherwise use the prompt as is
281
: params.prompt;
282
if (params.interactive_first || !params.prompt.empty() || session_tokens.empty()) {
0 commit comments