Skip to content

Commit 771fae0

Browse files
authored
reword warning
1 parent 247e420 commit 771fae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/main/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,8 @@ int main(int argc, char ** argv) {
217217
// print chat template example in conversation mode
218218
if (params.conversation_mode) {
219219
if (params.enable_chat_template) {
220-
if (!params.prompt.empty()) {
221-
LOG_WRN("*** User-specified prompt in conversation mode will be ignored, did you mean to set --system-prompt (-sys) instead?\n");
220+
if (!params.prompt.empty() && params.system_prompt.empty()) {
221+
LOG_WRN("*** User-specified prompt will pre-start conversation, did you mean to set --system-prompt (-sys) instead?\n");
222222
}
223223

224224
LOG_INF("%s: chat template example:\n%s\n", __func__, common_chat_format_example(chat_templates.get(), params.use_jinja).c_str());

0 commit comments

Comments
 (0)