File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1825,8 +1825,8 @@ std::string common_chat_format_example(const struct llama_model * model,
18251825llama_chat_templates llama_chat_templates_from_model (const struct llama_model * model, const std::string & chat_template_override)
18261826{
18271827 auto vocab = llama_model_get_vocab (model);
1828- auto bos_token = common_token_to_piece (vocab, llama_token_bos (vocab), true );
1829- auto eos_token = common_token_to_piece (vocab, llama_token_eos (vocab), true );
1828+ auto bos_token = common_token_to_piece (vocab, llama_vocab_bos (vocab), true );
1829+ auto eos_token = common_token_to_piece (vocab, llama_vocab_eos (vocab), true );
18301830 std::string default_template_src = chat_template_override;
18311831 std::string tool_use_template_src = chat_template_override;
18321832 if (chat_template_override.empty ()) {
You can’t perform that action at this time.
0 commit comments