forked from open-webui/open-webui
		
	
						commit
						8573fd523a
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -378,10 +378,10 @@ | |||
| 				}) | ||||
| 				.catch((error) => { | ||||
| 					console.log(error); | ||||
| 					toast.error(`OpenAI: ${error.error.message}`); | ||||
| 					toast.error(`OpenAI: ${error?.error?.message ?? 'Network Problem'}`); | ||||
| 					return null; | ||||
| 				}); | ||||
| 			const openaiModels = openaiModelRes.data; | ||||
| 			const openaiModels = openaiModelRes?.data ?? null; | ||||
| 
 | ||||
| 			if (openaiModels) { | ||||
| 				models = [ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek