forked from open-webui/open-webui
		
	feat: openai frontend refac
This commit is contained in:
		
							parent
							
								
									17c66fde0f
								
							
						
					
					
						commit
						c0b099da4f
					
				
					 4 changed files with 109 additions and 108 deletions
				
			
		|  | @ -82,6 +82,7 @@ async def proxy(path: str, request: Request, user=Depends(get_current_user)): | |||
| 
 | ||||
|     headers = {} | ||||
|     headers["Authorization"] = f"Bearer {app.state.OPENAI_API_KEY}" | ||||
|     headers["Content-Type"] = "application/json" | ||||
| 
 | ||||
|     try: | ||||
|         r = requests.request( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek