1808837298@qq.com
0db072de86
feat(error): Enhance error handling with optional detailed error messages
2025-03-11 17:25:06 +08:00
1808837298@qq.com
7e4474e59b
refactor: Remove redundant user quota retrieval in audio relay
2025-03-07 19:59:00 +08:00
1808837298@qq.com
3447df85c4
feat: add new GPT-4.5 preview model ratios
2025-02-28 19:17:15 +08:00
1808837298@qq.com
78f9a30c39
feat: Enhance sensitive word detection with detailed logging
2025-02-21 16:57:30 +08:00
1808837298@qq.com
1e0b414fc0
refactor: Simplify model mapping and pricing logic across relay modules
2025-02-20 16:41:46 +08:00
CalciumIon
aefd53b683
refactor: token cache logic
2024-12-30 17:10:48 +08:00
CalciumIon
966cdc1f7f
refactor: user cache logic
2024-12-29 16:50:26 +08:00
CalciumIon
0d1ba65592
refactor: migrate group ratio and user usable groups logic to new setting package
...
- Replaced references to common.GroupRatio and common.UserUsableGroups with corresponding functions from the new setting package across multiple controllers and services.
- Introduced new setting functions for managing group ratios and user usable groups, enhancing code organization and maintainability.
- Updated related functions to ensure consistent behavior with the new setting package integration.
2024-12-25 19:31:12 +08:00
CalciumIon
69c590d439
feat: Introduce settings package and refactor constants
...
- Added a new `setting` package to replace the `constant` package for configuration management, improving code organization and clarity.
- Moved various configuration variables such as `ServerAddress`, `PayAddress`, and `SensitiveWords` to the new `setting` package.
- Updated references throughout the codebase to use the new `setting` package, ensuring consistent access to configuration values.
- Introduced new files for managing chat settings and midjourney settings, enhancing modularity and maintainability of the code.
2024-12-22 17:24:29 +08:00
CalciumIon
ba6c908fbc
fix: stt模型计费
2024-11-25 19:31:59 +08:00
CalciumIon
2ae6060a31
feat: support audio response_format #580
2024-11-24 16:44:27 +08:00
CalciumIon
6bdf5cb380
fix: returnPreConsumedQuota
2024-11-10 02:09:18 +08:00
Xyfacai
14f4320923
fix: 部分情况缺少返回预扣
...
(cherry picked from commit 96373455521a38095706bd81c57f9a18557d9c2e)
2024-11-05 19:28:08 +08:00
1808837298@qq.com
1307a23f01
feat: realtime
...
(cherry picked from commit d4966246e68dbdcdab45ec5c5141362834d74425)
2024-11-05 19:27:47 +08:00
1808837298@qq.com
9e4133a890
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
1808837298@qq.com
07fa9205cb
feat: playground
2024-09-26 00:59:09 +08:00
CalciumIon
a7c14a26cc
feat: 区分额度不足和预扣费失败提示
2024-08-09 18:48:13 +08:00
CalciumIon
d583529421
feat: 区分额度不足和预扣费失败提示
2024-08-09 18:34:51 +08:00
CalciumIon
d7b34f0816
refactor: image relay
2024-07-17 23:50:37 +08:00
CalciumIon
1d4ebe3921
feat: support cloudflare audio
2024-07-16 23:24:47 +08:00
CalciumIon
ee0e1c9736
refactor: audio relay
2024-07-16 22:07:10 +08:00
CalciumIon
35b2a49eb8
fix: channel auto ban
2024-07-04 22:46:43 +08:00
1808837298@qq.com
313c16f360
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
CaIon
391f0404a5
feat: 日志详情展示模型价格
2024-05-12 15:35:57 +08:00
CaIon
516b197186
chore: 移除无用代码
2024-04-24 15:13:53 +08:00
CaIon
7e46e6785d
fix: audio预扣费未返还
2024-04-24 15:08:15 +08:00
CaIon
54c18dc89e
fix: remove sensitive check on completion ( close #157 )
2024-03-29 22:20:14 +08:00
CaIon
5aad98d736
feat: 统一错误提示
2024-03-20 20:36:55 +08:00
CaIon
14892a6582
feat: 初步兼容敏感词过滤
2024-03-20 17:07:42 +08:00
CaIon
124369073a
fix: fix gemini
2024-03-08 20:29:04 +08:00
1808837298@qq.com
436afe925e
feat: 初步重构完成
2024-02-29 16:21:25 +08:00
1808837298@qq.com
1735981217
feat: 初步重构
2024-02-29 01:08:18 +08:00