Calcium-Ion
979c81985e
Merge pull request #2703 from seefs001/feature/log-conversion-info
...
feat: log shows request conversion
2026-01-21 23:48:08 +08:00
Calcium-Ion
77d9a54627
Merge pull request #2702 from seefs001/fix/ali-baseurl
...
fix: replace Alibaba's Claude-compatible url with new url
2026-01-21 23:47:59 +08:00
Calcium-Ion
3f208ee365
Merge pull request #2701 from seefs001/fix/gemini-tool-call-index
...
fix: calls to multiple tools in gemini all return index=0
2026-01-21 23:47:48 +08:00
Calcium-Ion
817006d861
Merge pull request #2684 from seefs001/fix/codex-rm-max-output-tokens
...
fix: codex Unsupported parameter: max_output_tokens
2026-01-21 23:47:17 +08:00
Calcium-Ion
4f8abca054
Merge pull request #2667 from seefs001/fix/gemini-whitelist-field
...
fix: openAI function to gemini function field adjusted to whitelist mode
2026-01-21 23:45:57 +08:00
Seefs
ef84945425
fix: codex rm Temperature
2026-01-21 23:22:31 +08:00
Seefs
38791fa46d
feat: log shows request conversion
2026-01-20 23:43:29 +08:00
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
7e90c832e2
fix: issue where consecutive calls to multiple tools in gemini all returned an index of 0
2026-01-20 22:03:19 +08:00
feitianbubu
d95f334c63
fix: jimeng i2v support multi image by metadata
2026-01-19 11:34:46 +08:00
Seefs
19439414d0
fix: codex Unsupported parameter: max_output_tokens
2026-01-17 21:42:28 +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
d694a197d2
fix: openAI function to gemini function field adjusted to whitelist mode
2026-01-15 13:26:42 +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
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
RedwindA
ffa8a42784
fix(minimax): 添加 MiniMax-M2 系列模型到 ModelList
2026-01-09 20:46:47 +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
郑伯涛
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
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
Seefs
56c1994a08
Merge pull request #2568 from seefs001/feature/channel_override_trim_prefix
2026-01-03 12:38:32 +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
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
Seefs
ea60d305bb
Merge pull request #2393 from prnake/fix-claude-haiku
2026-01-03 09:36:42 +08:00
Seefs
b2e52260e1
Merge pull request #2532 from feitianbubu/pr/620211e02bd55545f0fa4568f3d55c3b4d7f3305
2026-01-03 09:36:17 +08:00
CaIon
87a75b0565
feat(ratio): add functions to check for audio ratios and clean up unused code
2025-12-31 21:29:10 +08:00
CaIon
62020d00a4
feat(adaptor): update resolution handling for wan2.6 model
2025-12-31 00:44:06 +08:00
CaIon
6d0e316ee6
refactor(image): remove unnecessary logging in oaiImage2Ali function
2025-12-31 00:23:19 +08:00
John Chen
6a2da31946
fix: 修复智普、Moonshot渠道在stream=true时无法拿到cachePrompt的统计数据。
...
根本原因:
1. 在OaiStreamHandler流式处理函数中,调用applyUsagePostProcessing(info, usage, nil)时传入的responseBody为nil,导致无法从响应体中提取缓存tokens。
2. 两个渠道的cached_tokens位置不同:
- 智普:标准位置 usage.prompt_tokens_details.cached_tokens
- Moonshot:非标准位置 choices[].usage.cached_tokens
处理方案:
1. 传递body信息到applyUsagePostProcessing中
2. 拆分智普和Moonshot的解析,并为Moonshot单独写一个解析方法。
2025-12-30 17:38:32 +08:00
CaIon
b5a0c822d2
feat(adaptor): 新适配百炼多种图片生成模型
...
- wan2.6系列生图与编辑,适配多图生成计费
- wan2.5系列生图与编辑
- z-image-turbo生图,适配prompt_extend计费
2025-12-29 23:00:17 +08:00
Seefs
6526976453
fix: glm 4.7 finish reason ( #2545 )
2025-12-29 19:41:15 +08:00
Seefs
5423d6ed8c
feat: Add "wan2.6-i2v" video ratio configuration to Ali adaptor.
2025-12-29 14:13:33 +08:00
Seefs
b10f1f7b85
feat: ionet integrate ( #2105 )
...
* wip ionet integrate
* wip ionet integrate
* wip ionet integrate
* ollama wip
* wip
* feat: ionet integration & ollama manage
* fix merge conflict
* wip
* fix: test conn cors
* wip
* fix ionet
* fix ionet
* wip
* fix model select
* refactor: Remove `pkg/ionet` test files and update related Go source and web UI model deployment components.
* feat: Enhance model deployment UI with styling improvements, updated text, and a new description component.
* Revert "feat: Enhance model deployment UI with styling improvements, updated text, and a new description component."
This reverts commit 8b75cb5bf0d1a534b339df8c033be9a6c7df7964.
2025-12-28 15:55:35 +08:00
Your Name
9c243d1fb8
feat(gemini): 支持 tool_choice 参数转换,优化错误处理
2025-12-27 18:33:09 +08:00
RedwindA
518563c7eb
feat: map OpenAI developer role to Gemini system instructions
2025-12-27 02:52:33 +08:00
feitianbubu
d014e0b471
fix: kling correct fail reason
2025-12-26 16:35:46 +08:00
papersnake
0271b6f145
Merge branch 'QuantumNous:main' into fix-claude-haiku
2025-12-26 16:23:34 +08:00
Calcium-Ion
15b38adf98
Merge pull request #2460 from seefs001/feature/gemini-flash-minial
...
fix(gemini): handle minimal reasoning effort budget
2025-12-26 13:57:56 +08:00
Calcium-Ion
3955d61b3e
Merge pull request #2477 from 1420970597/fix/anthropic-cache-billing
...
fix: 修复 Anthropic 渠道缓存计费错误
2025-12-24 16:59:23 +08:00
Seefs
07cb6e9626
Merge pull request #2493 from shikaiwei1/patch-1
2025-12-24 16:52:24 +08:00
feitianbubu
1dc7ab9a97
fix: check claudeResponse delta StopReason nil point
2025-12-24 11:54:23 +08:00