creamlike1024
738a9a4558
gemini text generation
2025-05-26 13:34:41 +08:00
1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
1808837298@qq.com
069f2672c1
refactor: Enhance user context and quota management
...
- Add new context keys for user-related information
- Modify user cache and authentication middleware to populate context
- Refactor quota and notification services to use context-based user data
- Remove redundant database queries by leveraging context information
- Update various components to use new context-based user retrieval methods
2025-02-25 20:56:16 +08:00
1808837298@qq.com
006bc37231
refactor: access_token auth
2025-01-05 22:08:23 +08:00
CalciumIon
ed435e5c8f
refactor: user cache logic
2024-12-29 16:50:26 +08:00
CalciumIon
6d4edc1f5b
fix: realtime
2024-11-30 23:32:42 +08:00
1808837298@qq.com
33af069fae
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
1808837298@qq.com
0cf53ac5ff
feat: Playground相关接口禁用AccessToken
2024-09-26 01:49:35 +08:00
1808837298@qq.com
9a4ca1e210
feat: playground
2024-09-26 00:59:09 +08:00
1808837298@qq.com
221894d972
fix: error user role
2024-09-24 17:49:57 +08:00
CalciumIon
052bc2075b
feat: 令牌分组
2024-09-18 05:19:49 +08:00
CalciumIon
f505afdc10
feat: 添加令牌ip白名单功能
2024-09-17 20:49:51 +08:00
CalciumIon
4490258104
fix bug
2024-08-07 02:50:22 +08:00
CalciumIon
67878731fc
feat: log user id
2024-08-04 14:35:16 +08:00
CalciumIon
ce815a98d0
fix: 修复nginx缓存导致串用户问题
2024-07-19 13:39:05 +08:00
CaIon
5715fcf8fb
feat: add pricing page
2024-05-13 23:02:35 +08:00
CaIon
4b60528c5f
feat: 本地重试
2024-04-04 16:35:44 +08:00
CaIon
3d10c9f090
feat: 将操作拆分成单独的模型
2024-03-13 21:19:48 +08:00
CaIon
37c0c8ebdd
feat: 初步兼容midjourney-proxy-plus
2024-03-13 15:37:01 +08:00
CaIon
64e9e9cc20
fix: 完善令牌预扣费逻辑
2024-01-11 14:12:48 +08:00
CaIon
a3b726dd82
fix: 修复高并发下,高额度用户使用低额度令牌没有预扣费的问题
2024-01-10 14:23:23 +08:00
CaIon
1244963e81
feat: 可设置令牌能调用的模型
2024-01-08 16:25:17 +08:00
CaIon
42469cb782
修复无法指定渠道id的问题
2023-12-14 16:43:20 +08:00
CaIon
7ffc2e34a6
fix mj submit bug
2023-11-28 23:15:17 +08:00
CaIon
fc2ef52366
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# README.md
# go.mod
# go.sum
# model/log.go
# web/src/App.js
# web/src/components/ChannelsTable.js
2023-10-16 17:31:26 +08:00
JustSong
f9b748c2ca
chore: add MEMORY_CACHE_ENABLED env variable
2023-09-29 11:38:27 +08:00
CaIon
985e26fd1b
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/log.go
# controller/relay-audio.go
# controller/relay-image.go
# controller/relay-text.go
# controller/relay.go
# middleware/distributor.go
# model/log.go
# web/src/components/OperationSetting.js
2023-09-17 20:59:12 +08:00
JustSong
42451d9d02
refactor: update logging related logic
2023-09-17 15:39:46 +08:00
CaIon
9c08d78349
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/relay.go
# main.go
# middleware/distributor.go
2023-09-09 03:15:55 +08:00
JustSong
621eb91b46
chore: pass through error out
2023-09-03 21:31:58 +08:00
CaIon
fe94656260
修复多路复用bug
2023-08-31 00:44:16 +08:00
JustSong
8a4cd403fd
fix: fix http status code ( close #193 )
2023-06-23 22:59:44 +08:00
JustSong
6d961064d2
feat: do not access database before response return ( close #158 )
2023-06-21 17:26:26 +08:00
Miniers
46c43396d8
feat: add token name to log ( #172 )
...
* add token name to log
* chore: update expression
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com >
2023-06-17 14:56:03 +08:00
JustSong
73d5e0f283
feat: support dummy sk- prefix for token ( #82 )
2023-05-17 17:04:06 +08:00
JustSong
8afdc56b11
fix: fix quota not consuming
2023-05-16 13:29:22 +08:00
JustSong
bffee4e91d
fix: fix /v1/models not working ( close #66 )
2023-05-15 15:33:34 +08:00
JustSong
4a0e81fe83
fix: fix quota not consumed
2023-05-14 20:36:28 +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
54b1e4adef
fix: check user status when validating token ( #23 )
2023-04-27 15:05:33 +08:00
JustSong
8c305dc1bc
feat: able to manage system vai access token ( close #12 )
2023-04-26 20:54:39 +08:00
JustSong
4f8cbd643d
fix: prevent common user from specifying channel id ( #12 )
2023-04-26 14:49:27 +08:00
JustSong
f16a2a5645
feat: redirect to login page if login expired ( close #18 )
2023-04-26 11:42:56 +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
JustSong
852af57c03
Relay done but not working
2023-04-23 18:24:11 +08:00
JustSong
539eac217f
Rename to One API
2023-04-22 21:14:09 +08:00
JustSong
ab1f8a2bf4
Initial commit
2023-04-22 20:39:27 +08:00