mirror of
				https://github.com/KoboldAI/KoboldAI-Client.git
				synced 2025-06-05 21:59:24 +02:00 
			
		
		
		
	Bugfix: Add apikey check to loadsettings
This commit is contained in:
		| @@ -401,6 +401,8 @@ def loadsettings(): | |||||||
|         js   = json.load(file) |         js   = json.load(file) | ||||||
|          |          | ||||||
|         # Copy file contents to vars |         # Copy file contents to vars | ||||||
|  |         if("apikey" in js): | ||||||
|  |             vars.apikey     = js["apikey"] | ||||||
|         if("andepth" in js): |         if("andepth" in js): | ||||||
|             vars.andepth    = js["andepth"] |             vars.andepth    = js["andepth"] | ||||||
|         if("temp" in js): |         if("temp" in js): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user