CaIon
1ab9892090
Merge remote-tracking branch 'new-api/main' into gpt-image
...
# Conflicts:
# relay/relay-image.go
2025-04-26 15:54:08 +08:00
xyfacai
873ebcf0c7
feat: support /images/edit
...
(cherry picked from commit 1c0a1238787d490f02dd9269b616580a16604180)
2025-04-26 15:44:56 +08:00
datehoer
7566ae9b3e
Add support for grok-2-image. Currently, grok-2-image doesn't support the size, quality, or style parameters. Set 'size'='empty' to use grok-2-image
2025-04-09 15:05:00 +08:00
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
3447df85c4
feat: add new GPT-4.5 preview model ratios
2025-02-28 19:17:15 +08:00
1808837298@qq.com
0333576bee
fix: fix image ratio calculation
2025-02-22 15:50:18 +08:00
1808837298@qq.com
4194f4bd21
refactor: Improve message content handling and quota error responses
2025-02-21 18:18:21 +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
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
1808837298@qq.com
9e4133a890
feat: realtime
...
(cherry picked from commit a5529df3e1a4c08a120e8c05203a7d885b0fe8d8)
2024-11-05 19:24:14 +08:00
Xyfacai
04a7434f82
fix: 修复 dall-e-2 请求报错
2024-08-24 13:36:41 +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
58f43d9397
fix: image quota ( close #382 )
2024-07-26 18:51:34 +08:00
CalciumIon
9def2c6cd8
fix: image relay quota
2024-07-18 17:12:28 +08:00
CalciumIon
dd91799ca9
chore: log format
2024-07-18 00:41:31 +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
35b2a49eb8
fix: channel auto ban
2024-07-04 22:46:43 +08:00
1808837298@qq.com
5c0502835c
fix: typo
2024-05-31 15:10:01 +08:00
1808837298@qq.com
313c16f360
refactor: 重构敏感词
2024-05-23 23:59:55 +08:00
CaIon
9d3cd2e1f0
chore: 删除无用代码
2024-05-13 16:04:28 +08:00
CaIon
0fe4c98b3f
feat: dalle系列改为使用模型固定价格计费
2024-05-13 16:04:02 +08:00
CaIon
391f0404a5
feat: 日志详情展示模型价格
2024-05-12 15:35:57 +08:00
CaIon
213e659164
feat: dalle系列日志记录更多信息
2024-04-24 15:14:16 +08:00
CaIon
7e46e6785d
fix: audio预扣费未返还
2024-04-24 15:08:15 +08:00
CaIon
6ec45751fd
refactor: remove consumeQuota
2024-03-13 22:30:10 +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