JustSong
							
						 
					 | 
					
						
						
							
						
						da9ccb528d
					 | 
					
						
						
							
							docs: update README
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-13 11:48:37 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						44729da277
					 | 
					
						
						
							
							fix: provide a default value for api-version if not given (#57)
						
						
						
						
						
						
							
 v0.2.3-alpha
						
					 | 
					
						2023-05-13 11:41:57 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						7a3378b4b7
					 | 
					
						
						
							
							feat: Azure API supported without verification (#48, #57)
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-13 11:36:36 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						fd19d7d246
					 | 
					
						
						
							
							fix: handle errors when update option map
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-13 10:30:55 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						5c694a1503
					 | 
					
						
						
							
							feat: now supports custom smtp port
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-12 11:44:38 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						9edc54ca69
					 | 
					
						
						
							
							fix: fix the default ratio for text-embedding-ada-002
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-11 22:43:39 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						e6af636fa0
					 | 
					
						
						
							
							fix: the initial quota for new token now calculated correctly (#51)
						
						
						
						
						
						
							
 v0.2.2
						
					 | 
					
						2023-05-11 21:29:05 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						6e1ef75009
					 | 
					
						
						
							
							feat: support /v1/embeddings now (close #50)
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-11 21:00:09 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						d9db16e999
					 | 
					
						
						
							
							feat: able to configure ratio for more models now (close #53)
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-11 20:59:35 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						241ade2fae
					 | 
					
						
						
							
							fix: delete a token with a negative quota will now update the account's quota correctly (close #51)
						
						
						
						
						
						
							
 v0.2.2-alpha
						
					 | 
					
						2023-05-11 20:05:49 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								chunzhi
							
						 
					 | 
					
						
						
							
						
						80065de8a3
					 | 
					
						
						
							
							feat: add Docker Compose support (#55)
						
						
						
						
						
						
						
						* docker-compose.yml
* Create one-api.service
配置systemd守护进程
* Update docker-compose.yml
* Update one-api.service
* Update docker-compose.yml
* Update docker-compose.yml 
						
						
							
						
					 | 
					
						2023-05-11 16:56:14 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						16f53b5afb
					 | 
					
						
						
							
							feat: double check before deleting a user
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-10 10:13:39 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						3071300c0c
					 | 
					
						
						
							
							feat: support API /dashboard/billing/credit_grants now (#45)
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-10 09:28:41 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						8b056bf408
					 | 
					
						
						
							
							docs: update README (#47)
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-05 21:56:48 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						e5640857b1
					 | 
					
						
						
							
							docs: add funding link
						
						
						
						
						
						
							
						
					 | 
					
						2023-05-05 15:26:54 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						331177d97e
					 | 
					
						
						
							
							fix: return quota to user when delete token (close #37)
						
						
						
						
						
						
							
 v0.2.1
						
					 | 
					
						2023-05-04 10:20:39 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						4fed003f1a
					 | 
					
						
						
							
							chore: update placeholder text (#36)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-29 18:42:05 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						a1ea1bf696
					 | 
					
						
						
							
							chore: update placeholder text (#36)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-29 18:41:19 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						7c66fc6c21
					 | 
					
						
						
							
							fix: shouldn't close c.Request.Body too soon (close #35)
						
						
						
						
						
						
							
 v0.2.1-alpha
						
					 | 
					
						2023-04-29 14:49:10 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						d93cb8f645
					 | 
					
						
						
							
							feat: able to configure ratio for different models (close #26)
						
						
						
						
						
						
							
 v0.2.0
						
					 | 
					
						2023-04-28 19:16:37 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						b08cd7e104
					 | 
					
						
						
							
							refactor: use tiktoken-go to calculate token number
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-28 18:36:17 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						aea6c859e7
					 | 
					
						
						
							
							fix: relay bug fix
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-28 18:16:59 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						480e789cd8
					 | 
					
						
						
							
							feat: support configuring ratio when estimating token number in stream mode
						
						
						
						
						
						
							
 v0.2.0-alpha
						
					 | 
					
						2023-04-28 17:25:05 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						23ec541ba6
					 | 
					
						
						
							
							refactor: improve relay's implementation
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-28 17:11:57 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						053bb85a1c
					 | 
					
						
						
							
							feat: now use token as the unit of quota (close #33)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-28 16:58:55 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						601fa5cea8
					 | 
					
						
						
							
							refactor: use quota instead of times
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-28 14:57:20 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						7a5057f02d
					 | 
					
						
						
							
							fix: check user's role when manage user (#30)
						
						
						
						
						
						
							
 v0.1.6-alpha.3
						
					 | 
					
						2023-04-28 09:47:03 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						c76027a210
					 | 
					
						
						
							
							style: add bottom margin for unlimited times button
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-27 17:18:07 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						f97c2b4c22
					 | 
					
						
						
							
							feat: able to set top up link now
						
						
						
						
						
						
							
 v0.1.6-alpha.2
						
					 | 
					
						2023-04-27 16:32:21 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						54b1e4adef
					 | 
					
						
						
							
							fix: check user status when validating token (#23)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-27 15:05:33 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						9272884381
					 | 
					
						
						
							
							fix: root user cannot demote itself now (close #30)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-27 14:45:12 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						195e94a75d
					 | 
					
						
						
							
							fix: fix MySQL syntax error (#54)
						
						
						
						
						
						
							
 v0.1.6-alpha.1
						
					 | 
					
						2023-04-27 11:10:10 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						5bfc224669
					 | 
					
						
						
							
							fix: specify type for token (close #23)
						
						
						
						
						
						
							
 v0.1.6-alpha
						
					 | 
					
						2023-04-27 09:32:20 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						fd149c242f
					 | 
					
						
						
							
							fix: remove rate limit for relay api
						
						
						
						
						
						
							
 v0.1.5
						
					 | 
					
						2023-04-26 21:50:09 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						b9cc5dfa3f
					 | 
					
						
						
							
							feat: able to set initial quota for new user (close #22)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 21:40:56 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						8c305dc1bc
					 | 
					
						
						
							
							feat: able to manage system vai access token (close #12)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 20:54:39 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						f62a671fbe
					 | 
					
						
						
							
							feat: download redemption codes as file (#12)
						
						
						
						
						
						
							
 v0.1.4
						
					 | 
					
						2023-04-26 17:13:08 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						9e2f2383b9
					 | 
					
						
						
							
							feat: now user can top up via redemption code (close #9)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 17:02:26 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						e7a809b082
					 | 
					
						
						
							
							fix: allow all origins (close #20)
						
						
						
						
						
						
							
 v0.1.4-alpha
						
					 | 
					
						2023-04-26 15:27:33 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						4f8cbd643d
					 | 
					
						
						
							
							fix: prevent common user from specifying channel id (#12)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 14:49:27 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						1dd92a3f92
					 | 
					
						
						
							
							fix: allow all origins (close #20)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 14:26:19 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						34a3329f5f
					 | 
					
						
						
							
							docs: update LICENSE
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 13:04:41 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						4fb07b6d6d
					 | 
					
						
						
							
							chore: update gitignore
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 13:04:11 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						8be7c9ae80
					 | 
					
						
						
							
							chore: update Dockerfile
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 13:04:01 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						4e8dc8d0cf
					 | 
					
						
						
							
							ci: remove useless action
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 13:00:33 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						1e46b9d135
					 | 
					
						
						
							
							docs: update README
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 12:58:06 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						f16a2a5645
					 | 
					
						
						
							
							feat: redirect to login page if login expired (close #18)
						
						
						
						
						
						
							
 v0.1.3
						
					 | 
					
						2023-04-26 11:42:56 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						03491029f2
					 | 
					
						
						
							
							feat: limit the ability of common user to set the remaining usage times of token (#9)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 11:10:14 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						faf84d833d
					 | 
					
						
						
							
							docs: update Nginx configuration (#3)
						
						
						
						
						
						
							
						
					 | 
					
						2023-04-26 10:50:52 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								JustSong
							
						 
					 | 
					
						
						
							
						
						109736cc05
					 | 
					
						
						
							
							fix: only reduce remain times when request /v1/chat/completions (close #15)
						
						
						
						
						
						
						
						BREAKING CHANGE: now remain_times is -1 doesn't mean unlimited times anymore! 
						
						
							
						
					 | 
					
						2023-04-26 10:45:34 +08:00 | 
					
					
						
						
						
							
							
							
							
							
							
						
					 |