mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-04 18:11:02 +00:00
gpt4all.py: GGUF
This commit is contained in:
@@ -423,6 +423,6 @@ def empty_chat_session(system_prompt: str = "") -> List[MessageType]:
|
||||
|
||||
|
||||
def append_bin_suffix_if_missing(model_name):
|
||||
if not model_name.endswith(".bin"):
|
||||
if not model_name.endswith((".bin", ".gguf")):
|
||||
model_name += ".bin"
|
||||
return model_name
|
||||
|
Reference in New Issue
Block a user