diff --git a/llama_cpp/llama_chat_format.py b/llama_cpp/llama_chat_format.py index 4fcc7dbf5..69ed6019a 100644 --- a/llama_cpp/llama_chat_format.py +++ b/llama_cpp/llama_chat_format.py @@ -1960,7 +1960,7 @@ def __call__( self.clip_ctx, llama.context_params.n_threads, c_ubyte_ptr, - length=len(image_bytes), + len(image_bytes), ) ) try: