mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	refac
This commit is contained in:
		
							parent
							
								
									4cbf16c456
								
							
						
					
					
						commit
						f9bd49bf56
					
				| @ -427,6 +427,16 @@ AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA = os.environ.get( | ||||
|     "AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA", "10" | ||||
| ) | ||||
| 
 | ||||
| if AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA == "": | ||||
|     AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA = None | ||||
| else: | ||||
|     try: | ||||
|         AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA = int( | ||||
|             AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA | ||||
|         ) | ||||
|     except Exception: | ||||
|         AIOHTTP_CLIENT_TIMEOUT_TOOL_SERVER_DATA = 10 | ||||
| 
 | ||||
| #################################### | ||||
| # OFFLINE_MODE | ||||
| #################################### | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user