mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	| @@ -23,13 +23,7 @@ parser.add_argument("--port", type=int, help="Set the port to listen.(default: 8 | ||||
| args = parser.parse_args() | ||||
|  | ||||
| def is_present(json, key): | ||||
|     try: | ||||
|         buf = json[key] | ||||
|     except KeyError: | ||||
|         return False | ||||
|     return True | ||||
|  | ||||
|  | ||||
|     return key in json | ||||
|  | ||||
| #convert chat to prompt | ||||
| def convert_chat(messages): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 arcrank
					arcrank