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