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 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						eec1dd6448 
					 
					
						
						
							
							fix: proxy api request  
						
						
						
						
					 
					
						2023-05-04 22:18:03 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						074bd9f045 
					 
					
						
						
							
							feat:  close   #663  allow disable user api key input  
						
						
						
						
					 
					
						2023-05-03 23:49:33 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						48ebd74859 
					 
					
						
						
							
							refactor: merge token and access code  
						
						
						
						
					 
					
						2023-05-03 23:08:37 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						ef5b7ce853 
					 
					
						
						
							
							refactor: merge /api/chat-stream to /api/openai  
						
						
						
						
					 
					
						2023-05-03 17:07:09 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						8f5c289818 
					 
					
						
						
							
							fix :  #751  do not cache request  
						
						
						
						
					 
					
						2023-05-01 23:48:23 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						ffa7302571 
					 
					
						
						
							
							feat: add mask page  
						
						
						
						
					 
					
						2023-04-25 00:49:27 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						b23adf9d5d 
					 
					
						
						
							
							fixup  
						
						
						
						
					 
					
						2023-04-23 01:37:47 +08:00 
						 
				 
			
				
					
						
							
							
								Shi Liang 
							
						 
					 
					
						
						
							
						
						ffb0fa25f1 
					 
					
						
						
							
							Merge pull request  #1  from shih-liang/patch-1  
						
						... 
						
						
						
						chat-stream: runtime = "experimental-edge"; 
						
						
					 
					
						2023-04-21 13:08:01 +08:00 
						 
				 
			
				
					
						
							
							
								Shi Liang 
							
						 
					 
					
						
						
							
						
						8966fd3b23 
					 
					
						
						
							
							openai runtime = "experimental-edge";  
						
						
						
						
					 
					
						2023-04-21 13:03:38 +08:00 
						 
				 
			
				
					
						
							
							
								Shi Liang 
							
						 
					 
					
						
						
							
						
						b6a7104b60 
					 
					
						
						
							
							chat-stream: runtime = "experimental-edge";  
						
						
						
						
					 
					
						2023-04-21 13:03:02 +08:00 
						 
				 
			
				
					
						
							
							
								Yin Min 
							
						 
					 
					
						
						
							
						
						21da781350 
					 
					
						
						
							
							Update common.ts  
						
						... 
						
						
						
						Add OrgID 
						
						
					 
					
						2023-04-19 19:28:33 +08:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						b79845fcaa 
					 
					
						
						
							
							fixup  
						
						
						
						
					 
					
						2023-04-17 11:36:32 +08:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						76ef5ef9a9 
					 
					
						
						
							
							fixup  
						
						
						
						
					 
					
						2023-04-17 11:34:33 +08:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						cc053b148d 
					 
					
						
						
							
							fix :  #853  fetch duplex errors  
						
						
						
						
					 
					
						2023-04-17 11:27:31 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						0a79df3670 
					 
					
						
						
							
							refactor: remove protocol env vars  
						
						
						
						
					 
					
						2023-04-15 02:50:04 +08:00 
						 
				 
			
				
					
						
							
							
								peanut996 
							
						 
					 
					
						
						
							
						
						a1c709bb58 
					 
					
						
						
							
							[refactor] rename ChatResponse.  
						
						
						
						
					 
					
						2023-04-11 12:06:12 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						d6e6dd09f0 
					 
					
						
						
							
							feat: dynamic config  
						
						
						
						
					 
					
						2023-04-11 02:54:31 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						9b61cb1335 
					 
					
						
						
							
							refactor: build/runtime/client configs  
						
						
						
						
					 
					
						2023-04-11 01:21:34 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						7aee53ea05 
					 
					
						
						
							
							fix :  #507  break cjk chars in stream mode  
						
						
						
						
					 
					
						2023-04-10 23:13:20 +08:00 
						 
				 
			
				
					
						
							
							
								leedom 
							
						 
					 
					
						
						
							
						
						b8a605f07d 
					 
					
						
						
							
							merge  
						
						
						
						
					 
					
						2023-04-07 07:18:53 +08:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						6823839f4b 
					 
					
						
						
							
							fixup  
						
						
						
						
					 
					
						2023-04-06 17:28:09 +08:00 
						 
				 
			
				
					
						
							
							
								Yidadaa 
							
						 
					 
					
						
						
							
						
						8e560d2b2e 
					 
					
						
						
							
							fix :  #410  can not stop response  
						
						
						
						
					 
					
						2023-04-06 03:19:33 +08:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						b44caeeefb 
					 
					
						
						
							
							fix :  #289   #367   #353   #369  provide more error message info  
						
						
						
						
					 
					
						2023-04-02 19:14:53 +00:00 
						 
				 
			
				
					
						
							
							
								AprilNEA 
							
						 
					 
					
						
						
							
						
						0a60a87c9f 
					 
					
						
						
							
							Merge branch 'main' into reset  
						
						... 
						
						
						
						# Conflicts:
#	app/components/settings.tsx 
						
						
					 
					
						2023-04-02 13:45:34 +08:00 
						 
				 
			
				
					
						
							
							
								Jun Wu 
							
						 
					 
					
						
						
							
						
						83cea2adb8 
					 
					
						
						
							
							api: set Content-Type to json  
						
						... 
						
						
						
						This avoids issues in browsers like WeChat where the encoding is
incorrect and the summary feature does not work if it contains
zh-CN characters. 
						
						
					 
					
						2023-04-01 03:37:09 -07:00 
						 
				 
			
				
					
						
							
							
								Yifei Zhang 
							
						 
					 
					
						
						
							
						
						447dec9444 
					 
					
						
						
							
							feat:  close   #2  add check account balance  
						
						
						
						
					 
					
						2023-03-29 17:45:26 +00:00 
						 
				 
			
				
					
						
							
							
								iSource 
							
						 
					 
					
						
						
							
						
						eb72c83b7e 
					 
					
						
						
							
							fix: docker access code setting missing  
						
						
						
						
					 
					
						2023-03-28 17:55:03 +08:00 
						 
				 
			
				
					
						
							
							
								伏晓 
							
						 
					 
					
						
						
							
						
						fb06fb8c38 
					 
					
						
						
							
							fix: resolve hydration error  
						
						
						
						
					 
					
						2023-03-27 18:22:55 +08:00