mirror of
				https://github.com/nomic-ai/gpt4all.git
				synced 2025-10-31 13:51:43 +00:00 
			
		
		
		
	Switch to new models2.json for new gguf release and bump our version to
2.5.0.
This commit is contained in:
		| @@ -108,12 +108,12 @@ class GPT4All: | ||||
|     @staticmethod | ||||
|     def list_models() -> List[ConfigType]: | ||||
|         """ | ||||
|         Fetch model list from https://gpt4all.io/models/models.json. | ||||
|         Fetch model list from https://gpt4all.io/models/models2.json. | ||||
|  | ||||
|         Returns: | ||||
|             Model list in JSON format. | ||||
|         """ | ||||
|         return requests.get("https://gpt4all.io/models/models.json").json() | ||||
|         return requests.get("https://gpt4all.io/models/models2.json").json() | ||||
|  | ||||
|     @staticmethod | ||||
|     def retrieve_model( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user