summaryrefslogtreecommitdiff
path: root/include/llama.h
diff options
context:
space:
mode:
authorKawrakow <iwankawrakow@gmail.com>2025-01-24 06:30:10 +0200
committerGitHub <noreply@github.com>2025-01-24 06:30:10 +0200
commit814d3e054cc5ac483ddb9933aa13ba385e979b68 (patch)
treee529dc602738c9b49ae14c2188fca622c5fac6ff /include/llama.h
parent2195632581c4f52707059b5963fe622ccead0dd2 (diff)
Update chat templates (#177)
* Adopting chat template stuff from llama.cpp * Removing missed conflict marker --------- Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
Diffstat (limited to 'include/llama.h')
-rw-r--r--include/llama.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llama.h b/include/llama.h
index 3a81dce4..c21671c6 100644
--- a/include/llama.h
+++ b/include/llama.h
@@ -1046,6 +1046,8 @@ extern "C" {
bool add_ass,
char * buf,
int32_t length);
+ // Get list of built-in chat templates
+ LLAMA_API int32_t llama_chat_builtin_templates(const char ** output, size_t len);
//
// Grammar