forked from open-webui/open-webui
		
	fix: openai
This commit is contained in:
		
							parent
							
								
									92d85ae2e6
								
							
						
					
					
						commit
						d67c632920
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -95,7 +95,6 @@ async def proxy(path: str, request: Request, user=Depends(get_current_user)): | |||
|         body = json.dumps(body) | ||||
|     except json.JSONDecodeError as e: | ||||
|         print("Error loading request body into a dictionary:", e) | ||||
|         raise HTTPException(status_code=400, detail="Invalid JSON in request body") | ||||
| 
 | ||||
|     headers = {} | ||||
|     headers["Authorization"] = f"Bearer {app.state.OPENAI_API_KEY}" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek