Skip to content

Commit 4dc2609

Browse files
committed
correct var type
1 parent 7ddf097 commit 4dc2609

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,7 +2965,7 @@ def llama_detokenize(
29652965
ctypes.c_char_p,
29662966
ctypes.POINTER(llama_chat_message),
29672967
ctypes.c_size_t,
2968-
bool,
2968+
ctypes.c_bool,
29692969
ctypes.c_char_p,
29702970
ctypes.c_int32
29712971
],
@@ -2978,7 +2978,6 @@ def llama_chat_apply_template(
29782978
add_ass: bool,
29792979
buf: bytes,
29802980
length: int,
2981-
/,
29822981
) -> int:
29832982
...
29842983

0 commit comments

Comments
 (0)