mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-04 01:22:26 +00:00
gpt4all.py: GGUF
This commit is contained in:
parent
1d29e4696c
commit
34f2ec2b33
@ -423,6 +423,6 @@ def empty_chat_session(system_prompt: str = "") -> List[MessageType]:
|
|||||||
|
|
||||||
|
|
||||||
def append_bin_suffix_if_missing(model_name):
|
def append_bin_suffix_if_missing(model_name):
|
||||||
if not model_name.endswith(".bin"):
|
if not model_name.endswith((".bin", ".gguf")):
|
||||||
model_name += ".bin"
|
model_name += ".bin"
|
||||||
return model_name
|
return model_name
|
||||||
|
Loading…
Reference in New Issue
Block a user