Skip to content

Commit eaf0782

Browse files
committed
make LlamaModel::chat_template public again
1 parent 6c2640f commit eaf0782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama-cpp-2/src/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ impl LlamaModel {
519519
///
520520
/// * If the model has no chat template by that name
521521
/// * If the chat template is not a valid [`CString`].
522-
fn chat_template(
522+
pub fn chat_template(
523523
&self,
524524
name: Option<&str>,
525525
) -> Result<LlamaChatTemplate, ChatTemplateError> {

0 commit comments

Comments
 (0)