forked from open-webui/open-webui
		
	
						commit
						c533ed91f5
					
				
					 1 changed files with 8 additions and 3 deletions
				
			
		|  | @ -322,9 +322,14 @@ OPENAI_API_BASE_URLS = [ | |||
| ] | ||||
| 
 | ||||
| OPENAI_API_KEY = "" | ||||
| OPENAI_API_KEY = OPENAI_API_KEYS[ | ||||
|     OPENAI_API_BASE_URLS.index("https://api.openai.com/v1") | ||||
| ] | ||||
| 
 | ||||
| try: | ||||
|     OPENAI_API_KEY = OPENAI_API_KEYS[ | ||||
|         OPENAI_API_BASE_URLS.index("https://api.openai.com/v1") | ||||
|     ] | ||||
| except: | ||||
|     pass | ||||
| 
 | ||||
| OPENAI_API_BASE_URL = "https://api.openai.com/v1" | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek