diff options
author | Marcus Dunn <51931484+MarcusDunn@users.noreply.github.com> | 2023-08-24 14:49:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-24 23:49:30 +0200 |
commit | 2e5f70a25fc4576e9ed78603fe493eb7702c37a3 (patch) | |
tree | 7bd6386f8a7a121650bcf1d9d6edba16beed4f9c | |
parent | d0f77b1353fc820d1ff1e6b87bc6bedde315938d (diff) |
Added `enum` to `llama_token_get_type` return type (#2774)
-rw-r--r-- | llama.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -348,7 +348,7 @@ extern "C" { LLAMA_API float llama_token_get_score(const struct llama_context * ctx, llama_token token); - LLAMA_API llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token); + LLAMA_API enum llama_token_type llama_token_get_type(const struct llama_context * ctx, llama_token token); // Special tokens LLAMA_API llama_token llama_token_bos(const struct llama_context * ctx); // beginning-of-sentence |