diff --git a/examples/server/utils.hpp b/examples/server/utils.hpp index a8d43ac63bf11..21b224d514370 100644 --- a/examples/server/utils.hpp +++ b/examples/server/utils.hpp @@ -385,6 +385,7 @@ static json oaicompat_completion_params_parse( // We must add their end sequences to list of stop words llama_params["stop"].push_back("<|im_end|>"); // chatml llama_params["stop"].push_back(""); // gemma + llama_params["stop"].push_back("<|eot_id|>"); // llama3 // Handle "response_format" field if (body.contains("response_format")) {