Seefs
1f419a3c71
Merge pull request #2121 from QuantumNous/feat/special_group
...
feat: add special user usable group setting
2025-10-29 18:54:51 +09:00
CaIon
1ded19795a
feat: add special user usable group setting
2025-10-28 23:25:43 +08:00
CaIon
2b70095b47
feat: implement audio duration retrieval without ffmpeg dependencies
2025-10-28 15:50:45 +08:00
Seefs
86c63ea4a7
feat: endpoint type log
2025-10-13 22:44:54 +08:00
Seefs
2624c48113
feat: endpoint type log
2025-10-13 22:25:39 +08:00
yanggh
8b9188c584
fix(convert): 修复 OpenAI 转 Claude 流时 thinking 块的格式问题
...
将 `ClaudeMediaMessage.Thinking` 的类型从 `string` 修改为 `*string`,以解决 `omitempty` 导致 `"thinking": ""` 字段在 JSON 序列化时被忽略的问题。
同时更新了 `service/convert.go` 和 `relay/channel/claude/relay-claude.go` 中的相关逻辑,以兼容新的指针类型,确保生成的 Claude 事件流符合官方规范。
2025-10-13 19:32:17 +08:00
CaIon
c13bb67360
fix: mask sensitive information in error messages and refine task retrieval query
2025-10-12 12:25:11 +08:00
Seefs
e1c7a4f41f
format: package name -> github.com/QuantumNous/new-api ( #2017 )
2025-10-11 15:30:09 +08:00
Seefs
76ab8a480a
Merge pull request #1401 from feitianbubu/pr/add-qwen-channel-auto-disabled
...
feat: add qwen channel auto disabled
2025-10-10 16:41:43 +08:00
CaIon
7b732ec4b7
feat: enhance HTTP client with custom redirect handling and SSRF protection
2025-10-10 15:13:41 +08:00
CaIon
74f93d41f3
feat: update Gemini API response handling to include block reason and improve error reporting
2025-10-05 19:33:47 +08:00
RedwindA
85ff8b1422
feat: add Gotify notification option for quota alerts
2025-10-01 19:15:00 +08:00
Seefs
fcc6172b43
fix: passkey rpid detect
2025-09-30 15:53:19 +08:00
Seefs
4c13666f26
Merge branch 'main-upstream' into feature/passkey
...
# Conflicts:
# web/src/components/settings/PersonalSetting.jsx
# web/src/i18n/locales/en.json
# web/src/i18n/locales/zh.json
2025-09-30 12:15:20 +08:00
Seefs
dcf4336c75
feat: passkey
2025-09-29 17:45:09 +08:00
CaIon
09e5e5d68c
fix(http_client): improve error message for unsupported proxy schemes
2025-09-29 14:02:15 +08:00
RedwindA
466d19c33d
fix: add missing timeout
2025-09-27 22:29:27 +08:00
RedwindA
c68fd36ee1
feat: 添加代理客户端缓存和重置功能,优化 HTTP 客户端管理
2025-09-27 22:18:39 +08:00
CaIon
b5d3e87ea2
Merge branch 'alpha'
2025-09-19 14:20:15 +08:00
creamlike1024
467e584359
feat: 添加域名启用ip过滤开关
2025-09-17 23:46:04 +08:00
creamlike1024
168ebb1cd4
feat: ssrf支持域名和ip黑白名单过滤模式
2025-09-17 15:41:21 +08:00
creamlike1024
b7bc609a7a
feat: 添加域名和ip过滤模式设置
2025-09-16 22:40:40 +08:00
Xyfacai
9790e2c4f6
fix: gemini support webp file
2025-09-15 01:01:48 +08:00
CaIon
72d5b35d3f
feat: implement SSRF protection settings and update related references
2025-09-13 18:15:03 +08:00
CaIon
28ed42130c
fix: update references from setting to system_setting for ServerAddress
2025-09-13 15:27:41 +08:00
CaIon
6451158680
Revert "feat: gemini-2.5-flash-image-preview 文本和图片输出计费"
...
This reverts commit e732c58426 .
2025-09-13 12:53:28 +08:00
CaIon
d8410d2f11
feat(payment): add payment settings configuration and update payment methods handling
2025-09-12 19:29:34 +08:00
Xyfacai
b25ac0bfb6
fix: 预扣额度使用 relay info 传递
2025-09-11 16:04:32 +08:00
Xyfacai
fcdfd027cd
fix: openai 格式请求 claude 没计费 create cache token
2025-09-10 15:30:23 +08:00
Seefs
b7527eb80e
Merge pull request #1677 from QuantumNous/gemini-2.5-flash-image-preview-billing
...
feat: gemini-2.5-flash-image-preview 文本和图片输出计费
2025-09-07 14:15:24 +08:00
CaIon
56fc3441da
feat(monitor_setting): implement automatic channel testing configuration
2025-09-03 14:00:52 +08:00
Seefs
247e029159
feat: bark notification #1699
2025-09-01 15:57:23 +08:00
CaIon
fbe7f35a25
feat(token_counter): add mime type extraction for base64 encoded data
2025-08-28 17:30:53 +08:00
CaIon
b0c703935f
fix(pre_consume_quota): improve error messages for insufficient user quota
2025-08-28 13:57:16 +08:00
creamlike1024
e732c58426
feat: gemini-2.5-flash-image-preview 文本和图片输出计费
2025-08-27 21:30:52 +08:00
CaIon
c5a1cbe755
fix(token_counter): update token counting logic to handle media token conditions
2025-08-27 17:11:33 +08:00
CaIon
35218609d9
fix(image): add error handling for empty base64 string in image decoding
2025-08-27 16:38:32 +08:00
Calcium-Ion
a95d70cf93
Merge pull request #1579 from wzxjohn/hotfix/openai_claude_convert
...
fix(adaptor): missing first text delta while convert OpenAI to Claude
2025-08-26 20:37:54 +08:00
CaIon
43efc2161a
feat: add SaveWithoutKey method to Channel and update status saving logic
2025-08-25 11:20:16 +08:00
Calcium-Ion
f96a733430
Merge pull request #1647 from aotsukiqx/main
...
fix: update channel.go fix #1641
2025-08-25 10:25:06 +08:00
aotsuki
cb6fa7d46d
Update channel.go
2025-08-24 11:39:38 +08:00
CaIon
732e5d2661
fix: correct argument passing in DoDownloadRequest for MIME type retrieval
2025-08-16 15:03:42 +08:00
CaIon
5d6fac69c4
feat: implement file type detection from URL with enhanced MIME type handling
2025-08-16 14:56:29 +08:00
CaIon
0bb43aa464
refactor: update function signatures to include context and improve file handling #1599
2025-08-15 18:40:54 +08:00
CaIon
b57e97d2a1
feat: 优化ac自动机
2025-08-15 16:54:26 +08:00
yyhhyyyyyy
039b00d695
Merge remote-tracking branch 'origin/alpha' into fix/openrouter-custom-ratio-billing
2025-08-15 14:58:42 +08:00
CaIon
cc4f73dc7e
refactor: enhance logging messages for user quota handling in pre-consume logic
2025-08-15 14:08:15 +08:00
CaIon
2f25e44e60
refactor: update token type handling and improve token counting logic
2025-08-15 13:28:03 +08:00
CaIon
5fe1ce89ec
refactor: improve request type validation and enhance sensitive information masking
2025-08-15 13:20:36 +08:00
CaIon
03fc89da00
refactor: add email masking function and enhance RelayInfo logging
...
This commit introduces a new function, MaskEmail, to mask user email addresses in logs, preventing PII leakage. Additionally, the RelayInfo logging has been updated to utilize this new masking function, ensuring sensitive information is properly handled. The channel test logic has also been improved to dynamically determine the relay format based on the request path.
2025-08-15 12:50:27 +08:00