fix code typo in llama-cli (#8198)

This commit is contained in:
Xuan Son Nguyen 2024-06-29 00:14:20 +02:00 committed by GitHub
parent 8748d8ac6f
commit 72272b83a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -810,7 +810,7 @@ int main(int argc, char ** argv) {
is_antiprompt = true;
}
chat_add_and_format(model, chat_msgs, "system", assistant_ss.str());
chat_add_and_format(model, chat_msgs, "assistant", assistant_ss.str());
is_interacting = true;
printf("\n");
}