Skip to content

Commit 355c3b7

Browse files
MarcusDunnakawrykow
authored andcommitted
Added enum to llama_token_get_type return type (ggml-org#2774)
1 parent 0a95b16 commit 355c3b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ extern "C" {
348348

349349
LLAMA_API float llama_token_get_score(const struct llama_context * ctx, llama_token token);
350350

351-
LLAMA_API llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token);
351+
LLAMA_API enum llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token);
352352

353353
// Special tokens
354354
LLAMA_API llama_token llama_token_bos(const struct llama_context * ctx); // beginning-of-sentence

0 commit comments

Comments
 (0)