Skip to content

Commit ec23b0c

Browse files
committed
Fix chat_format log
1 parent 0318702 commit ec23b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def __init__(
451451
if self.chat_format is None and self.chat_handler is None:
452452
self.chat_format = "llama-2"
453453
if self.verbose:
454-
print(f"Using fallback chat format: {chat_format}", file=sys.stderr)
454+
print(f"Using fallback chat format: {self.chat_format}", file=sys.stderr)
455455

456456
@property
457457
def ctx(self) -> llama_cpp.llama_context_p:

0 commit comments

Comments
 (0)