forked from open-webui/open-webui
		
	fix: openai proxy issue
This commit is contained in:
		
							parent
							
								
									212e051683
								
							
						
					
					
						commit
						ec9895a14a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -197,7 +197,9 @@ async def get_all_models(): | |||
|             "data": merge_models_lists( | ||||
|                 list( | ||||
|                     map( | ||||
|                         lambda response: response["data"] if response else None, | ||||
|                         lambda response: ( | ||||
|                             response["data"] if "data" in response else None | ||||
|                         ), | ||||
|                         responses, | ||||
|                     ) | ||||
|                 ) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek