H0llyW00dzZ 
							
						 
					 
					
						
						
							
						
						35471a41c8 
					 
					
						
						
							
							Fix & Feat [Auth] Api Key Variable  
						
						 
						
						... 
						
						
						
						- [+] fix(auth.ts): fix variable name from serverApiKey to systemApiKey
- [+] feat(auth.ts): add support for Google API key in addition to Azure API key 
						
						
					 
					
						2023-12-25 00:37:48 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fred Liang 
							
						 
					 
					
						
						
							
						
						aea794e522 
					 
					
						
						
							
							chore: remove openai log from google api handler  
						
						 
						
						
						
						
					 
					
						2023-12-24 17:37:07 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fred Liang 
							
						 
					 
					
						
						
							
						
						7d9a2132cb 
					 
					
						
						
							
							fix: fix server token fetch policy  
						
						 
						
						
						
						
					 
					
						2023-12-24 03:57:30 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fred Liang 
							
						 
					 
					
						
						
							
						
						20f2f61349 
					 
					
						
						
							
							feat: support set api key from client side  
						
						 
						
						
						
						
					 
					
						2023-12-24 03:44:13 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fred Liang 
							
						 
					 
					
						
						
							
						
						4169431f2c 
					 
					
						
						
							
							fix: fix add api auth  
						
						 
						
						
						
						
					 
					
						2023-12-24 03:05:23 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Fred Liang 
							
						 
					 
					
						
						
							
						
						778e88cb56 
					 
					
						
						
							
							chore: resolve conflict  
						
						 
						
						
						
						
					 
					
						2023-12-24 02:15:30 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								H0llyW00dzZ 
							
						 
					 
					
						
						
							
						
						f9d916925e 
					 
					
						
						
							
							Fixup Api Common [Server Side] [Console Log]  
						
						 
						
						... 
						
						
						
						- [+] fix(common.ts): fix condition to check if serverConfig.openaiOrgId is not undefined 
						
						
					 
					
						2023-11-25 10:23:16 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								H0llyW00dzZ 
							
						 
					 
					
						
						
							
						
						f9258878db 
					 
					
						
						
							
							Fix Api Common [Server Side] [Console Log]  
						
						 
						
						... 
						
						
						
						- [+] fix(common.ts): fix console.log statement for [Org ID] to handle undefined value 
						
						
					 
					
						2023-11-25 10:10:06 +07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eric-2369 
							
						 
					 
					
						
						
							
						
						74eb42c111 
					 
					
						
						
							
							config: exclude hkg1 from the deployment regions of the edge function  
						
						 
						
						
						
						
					 
					
						2023-11-16 11:33:10 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						9876a1aeca 
					 
					
						
						
							
							fix :  #3275  refuse on server side if hide user api key  
						
						 
						
						
						
						
					 
					
						2023-11-16 00:53:11 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						a5a1f2e8ad 
					 
					
						
						
							
							feat: CUSTOM_MODELS support mapper  
						
						 
						
						
						
						
					 
					
						2023-11-12 00:46:21 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ensteinjun 
							
						 
					 
					
						
						
							
						
						6b2db97347 
					 
					
						
						
							
							fixbug  
						
						 
						
						
						
						
					 
					
						2023-11-10 15:44:07 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						b7ffca031e 
					 
					
						
						
							
							feat:  close   #935  add azure support  
						
						 
						
						
						
						
					 
					
						2023-11-10 02:43:37 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						d93f05f511 
					 
					
						
						
							
							feat:  close   #3187  use CUSTOM_MODELS to control model list  
						
						 
						
						
						
						
					 
					
						2023-11-09 03:01:29 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								安忆 
							
						 
					 
					
						
						
							
						
						9cb889c34f 
					 
					
						
						
							
							docs: up to date  
						
						 
						
						
						
						
					 
					
						2023-11-08 07:09:52 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						c5ca278253 
					 
					
						
						
							
							feat:  close   #2908  allow to disable parse settings from link  
						
						 
						
						
						
						
					 
					
						2023-11-08 00:30:02 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						59fbadd9eb 
					 
					
						
						
							
							fixup  
						
						 
						
						
						
						
					 
					
						2023-09-19 02:21:31 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						adb860b464 
					 
					
						
						
							
							fix :  #2820  try to fix 520 error code  
						
						 
						
						
						
						
					 
					
						2023-09-19 02:12:43 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Amor Zara 
							
						 
					 
					
						
						
							
						
						bd69116df2 
					 
					
						
						
							
							Update route.ts  
						
						 
						
						... 
						
						
						
						Correct typo error and make warning more specific. 
						
						
					 
					
						2023-09-15 11:21:42 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						dc555b2206 
					 
					
						
						
							
							fixup  
						
						 
						
						
						
						
					 
					
						2023-09-13 02:52:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						6f83fbd212 
					 
					
						
						
							
							feat: add webdav support  
						
						 
						
						
						
						
					 
					
						2023-09-13 02:51:02 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						0b7de6f7b2 
					 
					
						
						
							
							fix :  #2594  trim the /  
						
						 
						
						
						
						
					 
					
						2023-08-10 10:47:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						b14c5cd89c 
					 
					
						
						
							
							fix :  #2485  one-time-use body  
						
						 
						
						
						
						
					 
					
						2023-08-08 21:36:37 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						30473ec41e 
					 
					
						
						
							
							fix :  #2367  do not copy in async callback after sharing to ShareGPT  
						
						 
						
						
						
						
					 
					
						2023-07-16 16:14:57 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								markshawn2020 
							
						 
					 
					
						
						
							
						
						1c335a68e0 
					 
					
						
						
							
							fixed openai base url if empty  
						
						 
						
						
						
						
					 
					
						2023-07-14 21:03:32 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yuanliang feng 
							
						 
					 
					
						
						
							
						
						a832cfb343 
					 
					
						
						
							
							Update common.ts  
						
						 
						
						
						
						
					 
					
						2023-07-11 15:46:40 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yuanliang feng 
							
						 
					 
					
						
						
							
						
						7a0b437626 
					 
					
						
						
							
							Update common.ts  
						
						 
						
						
						
						
					 
					
						2023-07-10 17:26:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								ShengYan, Zhang 
							
						 
					 
					
						
						
							
						
						dd047fd58f 
					 
					
						
						
							
							fix: typos  
						
						 
						
						
						
						
					 
					
						2023-07-10 10:09:19 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						4131fccbe0 
					 
					
						
						
							
							feat:  close   #2192  use /list/models to get model ids  
						
						 
						
						
						
						
					 
					
						2023-07-04 23:16:24 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Constaline 
							
						 
					 
					
						
						
							
						
						c05de45d99 
					 
					
						
						
							
							feat: add "Hide_Balance_Query" environment variable  
						
						 
						
						
						
						
					 
					
						2023-06-25 20:20:36 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								mushan0x0 
							
						 
					 
					
						
						
							
						
						9c05d136f5 
					 
					
						
						
							
							fix :  #2061  RequestInit TypeError  
						
						 
						
						
						
						
					 
					
						2023-06-20 11:57:31 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						184a0b9481 
					 
					
						
						
							
							fix :  #1954  lazy render bugs  
						
						 
						
						
						
						
					 
					
						2023-06-15 01:34:21 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						0fb775d71a 
					 
					
						
						
							
							fix :  #1931  try to fix cors issues  
						
						 
						
						
						
						
					 
					
						2023-06-15 00:28:47 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						0d4611052e 
					 
					
						
						
							
							feat: white url list for openai security  
						
						 
						
						
						
						
					 
					
						2023-06-13 00:39:29 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						6410aa214e 
					 
					
						
						
							
							feat: just disable all ngnix buffer  
						
						 
						
						
						
						
					 
					
						2023-06-08 23:49:06 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						a3a77006ff 
					 
					
						
						
							
							fixup:  #1815  req.body will be broken in edge runtime  
						
						 
						
						
						
						
					 
					
						2023-06-07 02:24:45 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						37da759fd5 
					 
					
						
						
							
							fix :  #1815  refuse to serve when disable gpt4  
						
						 
						
						
						
						
					 
					
						2023-06-07 01:02:01 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								popcell 
							
						 
					 
					
						
						
							
						
						d533895637 
					 
					
						
						
							
							fix :  #1746  Can't modify immutable headers.  
						
						 
						
						
						
						
					 
					
						2023-05-25 17:50:46 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						c2b36cdffa 
					 
					
						
						
							
							feat: prevent browser to invoke basic auth popup  
						
						 
						
						
						
						
					 
					
						2023-05-21 00:06:28 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						af497c96ec 
					 
					
						
						
							
							fix :  #1612  infinite loading  
						
						 
						
						
						
						
					 
					
						2023-05-20 19:58:12 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						203ac0970d 
					 
					
						
						
							
							feat:  #1640  support free gpt endpoint  
						
						 
						
						
						
						
					 
					
						2023-05-19 23:53:27 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Clarence Dan 
							
						 
					 
					
						
						
							
						
						ac79d810d0 
					 
					
						
						
							
							Fix memory leak issue by adding fetch request timeout  
						
						 
						
						... 
						
						
						
						This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests. 
						
						
					 
					
						2023-05-18 16:55:51 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Clarence Dan 
							
						 
					 
					
						
						
							
						
						2b912c6834 
					 
					
						
						
							
							fix:  Fix memory leak issue by adding fetch request timeout  
						
						 
						
						... 
						
						
						
						This commit resolves a memory leak issue that was occurring due to fetch requests hanging indefinitely. A timeout has been introduced to the `requestOpenai` function which ensures that these requests are aborted after a set period of time (currently 10 minutes). Additionally, error handling has been added to catch and log `AbortError` when a fetch request is aborted. This fix significantly improves the stability and reliability of the application by preventing memory leaks related to unresolved fetch requests. 
						
						
					 
					
						2023-05-18 16:52:32 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						3fe521421f 
					 
					
						
						
							
							chore: dynamic server config  
						
						 
						
						
						
						
					 
					
						2023-05-18 02:15:30 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						736c66f46a 
					 
					
						
						
							
							feat: stop all stale messages  
						
						 
						
						
						
						
					 
					
						2023-05-18 01:24:36 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						71cbf86b2c 
					 
					
						
						
							
							fixup: add more error info  
						
						 
						
						
						
						
					 
					
						2023-05-16 01:58:58 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						a3de277c43 
					 
					
						
						
							
							refactor:  #1000   #1179  api layer for client-side only mode and local models  
						
						 
						
						
						
						
					 
					
						2023-05-15 01:33:46 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						7e8def50aa 
					 
					
						
						
							
							feat:  close   #444  use env var to disable gpt-4  
						
						 
						
						
						
						
					 
					
						2023-05-09 23:20:03 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LaChimere 
							
						 
					 
					
						
						
							
						
						1facbb2906 
					 
					
						
						
							
							fix typo  
						
						 
						
						
						
						
					 
					
						2023-05-07 13:52:26 +08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yidadaa 
							
						 
					 
					
						
						
							
						
						c2e79d22d2 
					 
					
						
						
							
							fix :  #1233  detect api key with custom prefix  
						
						 
						
						
						
						
					 
					
						2023-05-04 22:50:07 +08:00