Laisky.Cai 
							
						 
					 
					
						
						
							
						
						a8cc96bf4a 
					 
					
						
						
							
							chore: update token.go to record consumption log  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-24 06:14:58 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						1c2e8f046b 
					 
					
						
						
							
							chore: refactor CI workflow and add linting  
						
						 
						
						... 
						
						
						
						Refactor the CI workflow to improve code organization and readability. Also, add a new linting workflow to ensure code quality. This commit includes changes to the `.github/workflows/ci.yml` and `.github/workflows/lint.yml` files.
Closes  #123  
						
						
							
						
					 
					
						2024-06-24 06:10:31 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						1d82e509aa 
					 
					
						
						
							
							chore: refactor updateTokenDto struct in token.go for better clarity  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-24 06:06:57 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						0e35db82d5 
					 
					
						
						
							
							chore: Update token.go to allow admin to add or subtract used quota  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-24 05:52:23 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						0164cdbcf2 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-24 01:46:01 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						254b9777c0 
					 
					
						
						
							
							feat: support load env variables from .env file  
						
						 
						
						
						
						
							
  v0.6.7
 
  v0.6.7-alpha.9
 
						
					 
					
						2024-06-23 15:37:11 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						114c44c6e7 
					 
					
						
						
							
							ci: fix ci.yml  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 15:17:58 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						a3c7e15aed 
					 
					
						
						
							
							fix: fix ut  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 15:14:39 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						3777517f64 
					 
					
						
						
							
							chore: add ut  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 14:28:55 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						9fc5f427dc 
					 
					
						
						
							
							chore: add commit lint and rename yml  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 14:01:57 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						864a467886 
					 
					
						
						
							
							chore: rename go.yml to unit-testing.yml  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 13:57:19 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						ed78b5340b 
					 
					
						
						
							
							fix: fix go.yml  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 13:53:30 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						fee69e7c20 
					 
					
						
						
							
							fix: fix ut  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 13:48:52 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						9d23a44dbf 
					 
					
						
						
							
							ci: add coverage report  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 13:38:43 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						6e4cfb20d5 
					 
					
						
						
							
							ci: add go.yaml  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-23 13:00:42 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Shi Jilin 
							
						 
					 
					
						
						
							
						
						ff196b75a7 
					 
					
						
						
							
							fix: fix sparkdesk function call  
						
						 
						
						
						
						
							
  v0.6.7-alpha.8
 
						
					 
					
						2024-06-20 22:56:59 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								lihangfu 
							
						 
					 
					
						
						
							
						
						279caf82dc 
					 
					
						
						
							
							feat: support tencent v3 api ( #1542 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: lihangfu <hfli8@iflytek.com > 
						
						
							
  v0.6.7-alpha.7
 
						
					 
					
						2024-06-20 00:23:08 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						115287b8cf 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-17 03:16:36 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wei Tingjiang 
							
						 
					 
					
						
						
							
						
						b1520b308b 
					 
					
						
						
							
							Try to fix Gemini streaming return being truncated by FinishReason. ( #1477 )  
						
						 
						
						... 
						
						
						
						1 
						
						
							
						
					 
					
						2024-06-14 00:30:47 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						ed717211aa 
					 
					
						
						
							
							chore: adjust default rate limit config  
						
						 
						
						
						
						
							
  v0.6.7-alpha.6
 
						
					 
					
						2024-06-13 00:35:37 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						6ccf3f3cfc 
					 
					
						
						
							
							chore: add logger.SysLogf function  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-13 00:28:56 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								jinjianming 
							
						 
					 
					
						
						
							
						
						f74577141c 
					 
					
						
						
							
							fix: fix default token not created in some cases ( #1510 )  
						
						 
						
						... 
						
						
						
						* 修复git、微信等用户注册不会创建默认令牌问题
修复git、微信等用户注册不会创建默认令牌问题
* 修复git、微信等用户注册不会创建默认令牌问题
删除普通用户注册代码
* fix: do not block if error happened
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com > 
						
						
							
  v0.6.7-alpha.5
 
						
					 
					
						2024-06-13 00:20:48 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Buer 
							
						 
					 
					
						
						
							
						
						6aafb7a99e 
					 
					
						
						
							
							fix: channel edit settings key error ( #1496 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-13 00:08:49 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zhong Liu 
							
						 
					 
					
						
						
							
						
						c1971870fa 
					 
					
						
						
							
							fix: support for Spark Lite model ( #1526 )  
						
						 
						
						... 
						
						
						
						* fix: Support for Spark Lite model
* fix: fix panic
* fix: fix xunfei version config
---------
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com >
Co-authored-by: JustSong <songquanpeng@foxmail.com > 
						
						
							
						
					 
					
						2024-06-13 00:07:26 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								wagxuebing 
							
						 
					 
					
						
						
							
						
						f83894c83f 
					 
					
						
						
							
							fix: xunfei interface call 4001 error ( #1499 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: lynnssb <lynntobing@gmail.com > 
						
						
							
						
					 
					
						2024-06-12 23:12:58 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						91ec8b92f0 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-09 13:39:05 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								fxsome 
							
						 
					 
					
						
						
							
						
						e9981fff36 
					 
					
						
						
							
							feat: post all messages for cloudflare ( #1515 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-06-08 13:34:23 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								取梦为饮 
							
						 
					 
					
						
						
							
						
						98669d5d48 
					 
					
						
						
							
							feat: add support for bytedance's doubao  ( #1438 )  
						
						 
						
						... 
						
						
						
						* 增加豆包大模型支持
* chore: update channel options & add prompt
---------
Co-authored-by: 康龙彪 <longbiao.kang@i-tudou.com >
Co-authored-by: JustSong <songquanpeng@foxmail.com > 
						
						
							
  v0.6.7-alpha.4
 
						
					 
					
						2024-06-08 13:26:26 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						c524e60d9f 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-29 06:12:37 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Wei Tingjiang 
							
						 
					 
					
						
						
							
						
						9321427c6e 
					 
					
						
						
							
							feat: support gemini embeddings (text-embedding-004,embedding-001) ( #1475 )  
						
						 
						
						... 
						
						
						
						* Refactor Gemini Adaptor to Support Embeddings
* Add new models to ModelList 
						
						
							
  v0.6.7-alpha.3
 
						
					 
					
						2024-05-29 01:17:32 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						ceea4c6d4a 
					 
					
						
						
							
							feat: support user content download proxy & relay proxy now  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-29 01:14:00 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								carey036 
							
						 
					 
					
						
						
							
						
						b53e00a9b3 
					 
					
						
						
							
							feat: generate default token after register ( #1401 )  
						
						 
						
						... 
						
						
						
						* feat: generate default token after register
* chore: use go routine to create default token for new user
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com > 
						
						
							
  v0.6.7-alpha.2
 
						
					 
					
						2024-05-28 01:44:38 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mo 
							
						 
					 
					
						
						
							
						
						332c8db0b3 
					 
					
						
						
							
							fix: add prefixes to image models to solve the problem of duplicate models ( #1469 )  
						
						 
						
						... 
						
						
						
						* Add prefixes to image models to solve the problem of duplicate models
* Fix the issue that response_format is not set, causing the b64_json parameter to be ignored. 
						
						
							
						
					 
					
						2024-05-28 01:32:57 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								fatwang2 
							
						 
					 
					
						
						
							
						
						3be28da57b 
					 
					
						
						
							
							Update package.json ( #1465 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-28 01:31:08 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Ghostz 
							
						 
					 
					
						
						
							
						
						fa74ba0eaa 
					 
					
						
						
							
							chore: print user id when relay error happened ( #1447 )  
						
						 
						
						... 
						
						
						
						* add userid when relay error
* chore: update log format
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com > 
						
						
							
						
					 
					
						2024-05-28 01:30:51 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dafei Zhao 
							
						 
					 
					
						
						
							
						
						a9211d66f6 
					 
					
						
						
							
							fix: fix gpt-4o token encoding ( #1446 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-28 01:26:07 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Buer 
							
						 
					 
					
						
						
							
						
						07b2fd58d6 
					 
					
						
						
							
							feat: berry theme update & bug fix ( #1471 )  
						
						 
						
						... 
						
						
						
						* feat: load channel models from server
* chore: support AWS Claude/Cloudflare/Coze
* fix: Popup message when copying fails
* chore: Optimize tips 
						
						
							
						
					 
					
						2024-05-28 01:22:40 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						f56a469199 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-25 13:20:54 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						0acee9a065 
					 
					
						
						
							
							fix: fix berry error ( close   #1445 )  
						
						 
						
						
						
						
							
  v0.6.7-alpha.1
 
						
					 
					
						2024-05-22 01:00:00 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						f965469e8a 
					 
					
						
						
							
							chore: update dependencies version  
						
						 
						
						
						
						
							
  v0.6.7-alpha
 
						
					 
					
						2024-05-22 00:52:23 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						03ea60532a 
					 
					
						
						
							
							fix: fix html lang attribute ( close   #1433 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-21 01:20:37 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Qiying Wang 
							
						 
					 
					
						
						
							
						
						2457d00afb 
					 
					
						
						
							
							feat: support gpt-4o ( #1431 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-21 01:14:22 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						a2e6c86bf3 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-14 01:17:53 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						91b80ae879 
					 
					
						
						
							
							fix: remove extra space  
						
						 
						
						
						
						
							
  v0.6.6
 
  v0.6.6-alpha.15
 
						
					 
					
						2024-05-07 23:57:34 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Laisky.Cai 
							
						 
					 
					
						
						
							
						
						7f0238e64c 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/upstream/main'  
						
						 
						
						
						
						
							
						
					 
					
						2024-05-04 00:54:10 +00:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						2720e1a358 
					 
					
						
						
							
							feat: support minimax's 6.5 models ( close   #1395 )  
						
						 
						
						
						
						
							
  v0.6.6-alpha.14
 
						
					 
					
						2024-04-30 02:23:14 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						71f4403fd5 
					 
					
						
						
							
							feat: add together.ai support ( #1298 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-04-30 02:16:53 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						1f76c80553 
					 
					
						
						
							
							fix: fix aws claude panic ( #1384 )  
						
						 
						
						
						
						
							
  v0.6.6-alpha.13
 
						
					 
					
						2024-04-29 22:49:06 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						7e027d2bd0 
					 
					
						
						
							
							fix: fix minimax prompt & completion tokens is empty ( #1391 )  
						
						 
						
						
						
						
							
  v0.6.6-alpha.12
 
						
					 
					
						2024-04-29 22:35:47 +08:00  
					
					
						 
						
						
							
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								JustSong 
							
						 
					 
					
						
						
							
						
						30f373b623 
					 
					
						
						
							
							fix: fix usage is empty ( close   #1391 )  
						
						 
						
						
						
						
							
						
					 
					
						2024-04-29 22:29:13 +08:00