Skip to content

Commit

Permalink
fix code typo in llama-cli (ggerganov#8198)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson authored and Nexesenex committed Jun 30, 2024
1 parent 11d77c6 commit a2d0846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,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");
}
Expand Down

0 comments on commit a2d0846

Please sign in to comment.