Seefs
40f2b2fd68
fix: Only models with the "qwen" designation can use the Claude-compatible interface; others require conversion.
2026-01-20 22:56:02 +08:00
Seefs
4fe84bad86
fix: replace Alibaba's Claude-compatible interface with the new interface
2026-01-20 22:36:36 +08:00
Seefs
db11bfdb6d
Merge pull request #2690 from feitianbubu/pr/0d926e8180210062b85a4ee06a0b324ba9ec91f6
2026-01-20 22:21:21 +08:00
CaIon
b311d482e3
fix: update abortWithOpenAiMessage function to use types.ErrorCode
2026-01-19 17:35:28 +08:00
feitianbubu
0f8ba448ce
fix: update warning threshold label from '5$' to '2$'
2026-01-19 12:58:10 +08:00
Seefs
5c1d43fc2a
Merge pull request #2670 from seefs001/fix/chat2claude-log
2026-01-15 15:35:17 +08:00
Seefs
f9c7daedcf
fix: for chat-based calls to the Claude model, tagging is required. Using Claude's rendering logs, the two approaches handle input rendering differently.
2026-01-15 15:28:02 +08:00
Seefs
2a15e3b152
feat: codex channel ( #2652 )
...
* feat: codex channel
* feat: codex channel
* feat: codex oauth flow
* feat: codex refresh cred
* feat: codex usage
* fix: codex err message detail
* fix: codex setting ui
* feat: codex refresh cred task
* fix: import err
* fix: codex store must be false
* fix: chat -> responses tool call
* fix: chat -> responses tool call
2026-01-14 22:29:43 +08:00
Seefs
530af61420
Merge pull request #2632 from feitianbubu/pr/add-doubao-video-1.5
2026-01-14 16:33:30 +08:00
Seefs
eae53ac398
Merge pull request #2627 from seefs001/feature/channel-test-param-override
...
feat: channel testing supports parameter overriding
2026-01-12 18:49:05 +08:00
Calcium-Ion
ef572392b7
Merge pull request #2642 from seefs001/fix/gemini-propertyNames
...
fix: clean propertyNames for gemini function
2026-01-12 18:48:24 +08:00
Seefs
dfda90a425
fix: chat2response setting ui ( #2643 )
...
* fix: setting ui
* fix: rm global.chat_completions_to_responses_policy
* fix: rm global.chat_completions_to_responses_policy
2026-01-12 18:48:05 +08:00
Seefs
ac04c802a7
Merge pull request #2647 from seefs001/feature/status-code-auto-disable
...
feat: status code auto-disable configuration
2026-01-12 18:47:45 +08:00
Seefs
5812163faa
Merge pull request #2646 from deanxv/fix/gemini-unmarshal
2026-01-12 12:33:01 +08:00
dean
5568423e5b
fix: support snake_case fields in GeminiChatGenerationConfig
2026-01-12 12:23:24 +08:00
Seefs
14b3dac82c
fix: clean propertyNames for gemini function
2026-01-11 23:34:18 +08:00
Seefs
71460cba15
feat: /v1/chat/completion -> /v1/response ( #2629 )
...
* feat: /v1/chat/completion -> /v1/response
2026-01-11 21:38:07 +08:00
feitianbubu
c7ebd4408a
feat: add doubao video 1.5
2026-01-10 22:23:31 +08:00
Seefs
2432181ca0
Merge pull request #2615 from RedwindA/feat/GeminiNativeFetchModels
...
fix(gemini): fetch model list via native v1beta/models endpoint
2026-01-09 23:54:36 +08:00
Seefs
ecc10f80c7
Merge pull request #2619 from RedwindA/fix/disableMinimaxFetchModels
...
fix: remove Minimax from FETCHABLE channels
2026-01-09 21:42:25 +08:00
RedwindA
ffa8a42784
fix(minimax): 添加 MiniMax-M2 系列模型到 ModelList
2026-01-09 20:46:47 +08:00
RedwindA
0f0ba4adc4
fix: remove Minimax from FETCHABLE channels
2026-01-09 20:37:12 +08:00
RedwindA
db96248c5b
refactor(gemini): 更新 GeminiModelsResponse 以使用 dto.GeminiModel 类型
2026-01-09 18:08:11 +08:00
RedwindA
e8eea5d3ee
fix(gemini): fetch model list via native v1beta/models endpoint
...
Use the native Gemini Models API (/v1beta/models) instead of the OpenAI-compatible
path when listing models for Gemini channels, improving compatibility with
third-party Gemini-format providers that don't implement OpenAI routes.
- Add paginated model listing with timeout and optional proxy support
- Select an enabled key for multi-key Gemini channels
2026-01-09 18:00:40 +08:00
CaIon
4ffe7dc50b
docs: update readme
2026-01-07 20:52:27 +08:00
Xyfacai
389ddfa8a9
Merge pull request #2590 from xyfacai/fix/max-body-limit
...
fix: 设置默认max req body 为128MB
2026-01-06 21:47:12 +08:00
Xyfacai
283271064c
Merge pull request #2588 from PowerfulBart/fix/auto-group-task-logging
...
fix(task): 修复使用 auto 分组时 Task Relay 不记录日志和不扣费的问题
2026-01-06 11:14:49 +08:00
郑伯涛
d2a91effef
fix(task): 修复使用 auto 分组时 Task Relay 不记录日志和不扣费的问题
...
问题描述:
- 使用 auto 分组的令牌调用 /v1/videos 等 Task 接口时,虽然任务能成功创建,
但使用日志不显示记录,且不会扣费
根本原因:
- Distribute 中间件在选择渠道后,会将实际选中的分组存储在 ContextKeyAutoGroup 中
- 但 RelayTaskSubmit 函数没有从 context 中读取这个值来更新 info.UsingGroup
- 导致 info.UsingGroup 始终是 "auto" 而不是实际选中的分组(如 "sora2逆")
- 当 auto 分组的倍率配置为 0 时,quota 计算结果为 0
- 日志记录条件 "if quota != 0" 不满足,导致日志不记录、不扣费
修复方案:
- 在 RelayTaskSubmit 函数中计算分组倍率之前,添加从 ContextKeyAutoGroup
获取实际分组的逻辑
- 使用安全的类型断言,避免潜在的 panic 风险
影响范围:
- 仅影响 Task Relay 流程(/v1/videos, /suno, /kling 等接口)
- 不影响使用具体分组令牌的调用
- 不影响其他 Relay 类型(chat/completions 等已有类似处理逻辑)
2026-01-06 00:16:50 +08:00
Seefs
e71be75067
Merge pull request #2587 from xiangsx/main
2026-01-05 23:36:16 +08:00
xiangsx
3c21652e28
feat: add regex pattern to mask API keys in sensitive information
2026-01-05 22:44:11 +08:00
CaIon
04ff3df583
fix(gin): update request body size check to allow zero limit
2026-01-05 18:55:24 +08:00
Seefs
3b05ac92e9
Merge pull request #2581 from seefs001/fix/batch-add-key-deduplicate
2026-01-05 18:52:18 +08:00
Seefs
fa5c585e4e
Merge pull request #2582 from seefs001/fix/tips
...
fix: add tips for model management and channel testing
2026-01-05 18:47:02 +08:00
Calcium-Ion
cf2eb6da08
Merge pull request #2580 from seefs001/fix/aws-proxy-timeout
...
fix: fix the proxyURL is empty, not using the default HTTP client configuration && the AWS calling side did not apply the relay timeout.
2026-01-05 18:32:25 +08:00
Seefs
99e841cb01
fix: batch add key backend deduplication
2026-01-05 18:09:02 +08:00
Seefs
0ef2804757
fix: fix the proxyURL is empty, not using the default HTTP client configuration && the AWS calling side did not apply the relay timeout.
2026-01-05 17:56:24 +08:00
Calcium-Ion
43f5433e6a
Merge pull request #2578 from xyfacai/fix/gemini-mimetype
...
fix: 修复 gemini 文件类型不支持 image/jpg
2026-01-04 22:19:16 +08:00
Xyfacai
eeccb2146f
fix: 修复 gemini 文件类型不支持 image/jpg
2026-01-04 22:09:03 +08:00
Seefs
be2fdceaec
Merge pull request #2550 from shikaiwei1/patch-2
2026-01-04 18:11:46 +08:00
CaIon
6ba75a02b7
feat: add plans directory to .gitignore
2026-01-04 16:20:58 +08:00
Seefs
56c1994a08
Merge pull request #2568 from seefs001/feature/channel_override_trim_prefix
2026-01-03 12:38:32 +08:00
Seefs
be567ef7c9
fix: fix model deployment style issues, lint problems, and i18n gaps. ( #2556 )
...
* fix: fix model deployment style issues, lint problems, and i18n gaps.
* fix: adjust the key not to be displayed on the frontend, tested via the backend.
* fix: adjust the sidebar configuration logic to use the default configuration items if they are not defined.
2026-01-03 12:37:50 +08:00
Calcium-Ion
1c95a9febc
Merge pull request #2558 from seefs001/fix/gemini-tool-call
...
fix: gemini request -> openai tool call
2026-01-03 12:37:28 +08:00
Calcium-Ion
93527862a0
Merge pull request #2571 from seefs001/feature/check-in-security-check
...
feat: check-in feature integrates Turnstile security check
2026-01-03 12:36:39 +08:00
Seefs
44f9d9040b
feat: add support for Doubao /v1/responses ( #2567 )
...
* feat: add support for Doubao /v1/responses
2026-01-03 12:35:35 +08:00
Seefs
a7e6a91247
Merge pull request #2570 from feitianbubu/pr/43f64c6508515ffaec308ac9c1cf2afa2de98c3d
2026-01-03 12:16:57 +08:00
Seefs
23ec7bcad3
Merge pull request #2447 from a4399518s/main
2026-01-03 12:15:28 +08:00
Seefs
b32cecb46c
feat: check-in feature integrates Turnstile security check
2026-01-03 11:08:26 +08:00
feitianbubu
5334e6aec2
fix: CrossGroupRetry default false
...
移除gorm:"default:false",避免每次 AutoMigrate时都执行ALTER TABLE `tokens` MODIFY COLUMN `cross_group_retry` boolean DEFAULT false
且bool默认false不影响原有功能
2026-01-03 10:43:33 +08:00
Seefs
552e51c15a
feat: add parameter coverage for the operations: copy, trim_prefix, trim_suffix, ensure_prefix, ensure_suffix, trim_space, to_lower, to_upper, replace, and regex_replace
2026-01-03 10:27:16 +08:00