Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/change swagger route #1392

Merged
merged 13 commits into from
Oct 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix/mistral-nemo-chat-template
nguyenhoangthuan99 committed Sep 25, 2024
commit abb5d7f43a202e75bf449fbe0489f28238f5c2fb
2 changes: 1 addition & 1 deletion engine/config/chat_template_renderer.h
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ static int32_t llama_chat_apply_template_internal(
ss << content << "\n";
}
} else if (role == "user") {
ss << content << " [/INST]";
ss << "[INST] " << content << " [/INST]";
} else {
ss << (space_around_response ? " " : "") << content
<< (space_around_response ? " " : "") << "</s>";