1808837298@qq.com
bd48f43410
feat: claude relay
2025-03-12 21:31:46 +08:00
wzxjohn
c433af284c
feat: add oidc support
2025-03-11 15:52:03 +08:00
1808837298@qq.com
68097c132d
feat: Improve decimal precision for quota and payment calculations
...
- Added github.com/shopspring/decimal for precise floating-point calculations
- Refactored quota and payment calculations in multiple files to use decimal arithmetic
- Updated go.mod and go.sum to include decimal library
- Improved precision in topup, relay, and quota service calculations
- Added support for more OpenAI model variants in cache ratio settings
2025-03-08 21:55:50 +08:00
1808837298@qq.com
3a2e22443f
chore: replace sqlite lib with prue go lib
2025-02-11 18:34:34 +08:00
1808837298@qq.com
d10b47005c
chore: update CI
2025-02-10 21:59:41 +08:00
CalciumIon
79de02b05f
chore: Update dependencies and refactor JSON handling #614
...
- Removed the `bytedance/sonic` dependency and replaced its usage with the standard `encoding/json` package for JSON marshalling in `relay-text.go`.
- Updated `go.mod` to reflect the removal of `sonic` and adjusted the version of `sonic/loader`.
- Cleaned up `go.sum` to ensure consistency with the updated dependencies.
2024-12-12 14:14:24 +08:00
CalciumIon
98373f486e
feat: update go-epay
2024-12-05 17:45:54 +08:00
CalciumIon
45bf496183
Update go.mod
2024-12-05 15:25:42 +08:00
CalciumIon
4c809277aa
feat: support br
2024-12-04 23:53:02 +08:00
CalciumIon
e8286e479b
chore: go.mod
2024-11-19 15:14:40 +08:00
lianghaoyuan
84f40b63b2
feat: 添加.env配置文件和初始化环境变量
2024-09-24 11:39:02 +08:00
CalciumIon
c41820541d
Update go.mod
2024-08-27 20:30:46 +08:00
CalciumIon
ac4262c542
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
CalciumIon
e84300f4ae
chore: gopool
2024-07-19 01:07:37 +08:00
1808837298@qq.com
d2a0d9f73b
feat: update tiktoken
2024-05-30 21:45:58 +08:00
CaIon
9dcec2772d
chore: update tiktoken ( #254 )
2024-05-15 14:18:29 +08:00
CaIon
9294127686
feat: support aws claude
2024-04-23 11:44:40 +08:00
CaIon
2d1d1b4631
update go-epay
2024-04-07 14:42:03 +08:00
CaIon
7a663d26ec
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
2d2fec24d0
chore: update dependency
2024-03-15 18:35:15 +08:00
CaIon
4036355fae
bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-27 16:32:42 +08:00
CaIon
fa2efb7357
bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-27 15:39:29 +08:00
CaIon
a10f7cfbe1
upgrade pkg
2023-11-24 04:44:37 +08:00
Xyfacai
a5e973fb69
optimize: upgrade tiktoken pkg
2023-11-23 21:41:50 +08:00
CaIon
9d191c10a9
添加pprof性能分析
2023-11-21 18:11:07 +08:00
CaIon
e5c2524f15
fix image token calculate
2023-11-17 20:32:40 +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
dependabot[bot]
114587b46f
chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 ( #591 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 12:34:46 +08:00
CaIon
d9d5b001a7
merge
2023-08-25 01:03:45 +08:00
CaIon
c0f0201f5f
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# controller/relay-text.go
# go.mod
# web/src/components/PersonalSetting.js
# web/src/components/TokensTable.js
# web/src/pages/Home/index.js
2023-08-25 00:51:02 +08:00
CaIon
8f2119e410
add epay
2023-08-14 22:16:32 +08:00
JustSong
e0b4f96b5b
feat: support PostgreSQL now
2023-08-12 19:20:12 +08:00
glzjin
3a18cebe34
fix: update tiktoken-go's version to fix resource consumption problem ( #392 , close #161 )
2023-08-11 22:24:11 +08:00
JustSong
8a866078b2
feat: support xunfei's llm ( close #206 )
2023-07-29 21:55:57 +08:00
JustSong
26c6719ea3
feat: support zhipu's ChatGLM ( close #289 )
2023-07-23 11:51:44 +08:00
dependabot[bot]
139624b8a4
chore: bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 ( #134 )
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.9.0...v1.9.1 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 13:13:36 +08:00
JustSong
3710688efd
refactor: use built in smtp library ( close #34 )
2023-05-13 15:30:09 +08:00
JustSong
b08cd7e104
refactor: use tiktoken-go to calculate token number
2023-04-28 18:36:17 +08:00
JustSong
b874784058
chore: update dependency
2023-04-25 21:56:23 +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