Skip to content

Commit 47b0528

Browse files
committed
llama : add enum for supported chat templates
1 parent 991f8aa commit 47b0528

File tree

3 files changed

+279
-100
lines changed

3 files changed

+279
-100
lines changed

include/llama.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -990,6 +990,9 @@ extern "C" {
990990
char * buf,
991991
int32_t length);
992992

993+
// Get list of supported chat templates
994+
int32_t llama_chat_supported_templates(const char ** output, size_t len);
995+
993996
//
994997
// Sampling API
995998
//

0 commit comments

Comments
 (0)