Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a50d24e

Browse filesBrowse files
authored
fix: chat_format log where auto-detected format prints None (abetlen#1434)
1 parent 0318702 commit a50d24e
Copy full SHA for a50d24e

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.