borx
0be0b36503
fix(go.mod): 更新modernc.org/sqlite依赖项版本
2025-12-08 01:16:30 +08:00
dependabot[bot]
bb74f3dde7
chore(deps): bump golang.org/x/crypto from 0.42.0 to 0.45.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.42.0 to 0.45.0.
- [Commits](https://github.com/golang/crypto/compare/v0.42.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-version: 0.45.0
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-20 02:46:07 +00:00
CaIon
a00c6393c5
feat: implement audio duration retrieval without ffmpeg dependencies
2025-10-28 15:50:45 +08:00
Seefs
5010f2d004
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
CaIon
0ecdf1b8ff
fix: update jwt package import to v5 across multiple files
2025-10-09 14:17:49 +08:00
Seefs
3b22408b61
chore: go version & sonic dep
2025-09-30 14:38:20 +08:00
Seefs
1599a8403f
feat: passkey
2025-09-29 17:45:09 +08:00
CaIon
0e34de8fe2
feat: replace pcopy with jinzhu/copier for deep copy functionality
2025-08-26 13:40:41 +08:00
CaIon
1ee3d1cc50
feat: 修复重试后请求结构混乱,修复rerank端点无法使用
2025-08-23 13:12:15 +08:00
Nekohy
4b6031b59c
feats: the flexable params override and compatible format
2025-08-16 11:27:47 +08:00
wzxjohn
d31027d5c7
feat: support aws bedrock apikey
2025-08-05 23:01:30 +08:00
Seefs
b56a75cbe3
fix: coderabbit review
2025-08-03 10:41:00 +08:00
Seefs
b48d3a6b40
feat: implement two-factor authentication (2FA) support with user login and settings integration
2025-08-02 14:53:28 +08:00
Seefs
3b34afa8c9
Revert "feat: add Claude Code channel support with OAuth integration"
2025-07-31 22:08:16 +08:00
Seefs
1389cc7acd
feat: add claude code channel
2025-07-26 18:06:46 +08:00
wzxjohn
81d474ba3c
feat: add stripe pay api support
2025-07-10 16:29:38 +08:00
CaIon
88a801af2d
🔧 fix(token_counter): update token encoder implementation and dependencies
2025-06-10 18:04:49 +08:00
1808837298@qq.com
78fc3a191c
feat: claude relay
2025-03-12 21:31:46 +08:00
wzxjohn
bdb1a2fcb9
feat: add oidc support
2025-03-11 15:52:03 +08:00
1808837298@qq.com
0876bc3f7f
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
0be6c5ee69
chore: replace sqlite lib with prue go lib
2025-02-11 18:34:34 +08:00
1808837298@qq.com
147d0f211b
chore: update CI
2025-02-10 21:59:41 +08:00
CalciumIon
7ae97088c3
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
498b240409
feat: update go-epay
2024-12-05 17:45:54 +08:00
CalciumIon
d0395194d1
Update go.mod
2024-12-05 15:25:42 +08:00
CalciumIon
270857e370
feat: support br
2024-12-04 23:53:02 +08:00
CalciumIon
4496cb537e
chore: go.mod
2024-11-19 15:14:40 +08:00
lianghaoyuan
9076ec5c63
feat: 添加.env配置文件和初始化环境变量
2024-09-24 11:39:02 +08:00
CalciumIon
6b22319e27
Update go.mod
2024-08-27 20:30:46 +08:00
CalciumIon
b8664e71e6
feat: support vertex ai #377
2024-08-27 20:19:51 +08:00
CalciumIon
d06018cd3f
chore: gopool
2024-07-19 01:07:37 +08:00
1808837298@qq.com
2254b1c422
feat: update tiktoken
2024-05-30 21:45:58 +08:00
CaIon
456be72de2
chore: update tiktoken ( #254 )
2024-05-15 14:18:29 +08:00
CaIon
3721ed796c
feat: support aws claude
2024-04-23 11:44:40 +08:00
CaIon
107bd8d691
update go-epay
2024-04-07 14:42:03 +08:00
CaIon
14892a6582
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
aff0158632
chore: update dependency
2024-03-15 18:35:15 +08:00
CaIon
26387137fc
bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-27 16:32:42 +08:00
CaIon
8f9d355dde
bump golang.org/x/crypto from 0.14.0 to 0.17.0
2023-12-27 15:39:29 +08:00
CaIon
e604177820
upgrade pkg
2023-11-24 04:44:37 +08:00
Xyfacai
8b02d10e7d
optimize: upgrade tiktoken pkg
2023-11-23 21:41:50 +08:00
CaIon
580dfd9485
添加pprof性能分析
2023-11-21 18:11:07 +08:00
CaIon
1f3787eff2
fix image token calculate
2023-11-17 20:32:40 +08:00
CaIon
ba7e6324d3
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]
0c31a9b31c
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
46d817ab64
merge
2023-08-25 01:03:45 +08:00
CaIon
e60239c93d
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
68b24da6a6
add epay
2023-08-14 22:16:32 +08:00
JustSong
c563e1ed91
feat: support PostgreSQL now
2023-08-12 19:20:12 +08:00
glzjin
e32ab8b7f4
fix: update tiktoken-go's version to fix resource consumption problem ( #392 , close #161 )
2023-08-11 22:24:11 +08:00