刘佳林
10940ecf39
fix(minimax): gofmt MiniMax allowlist comments
...
golangci-lint gofmt failed on aligned comments in the default upstream host list.
2026-09-08 17:49:11 +08:00
刘佳林
3495635a52
fix(minimax): 补齐阈值停调与额度监控接线
...
调度阈值评估和渠道监控 quota 取数补上 MiniMax 分支;GetCodingPlanProvider 改为只认官方域名,避免把中转 Key 发到厂商额度端点。composite /v1/models 与 Codex 目录纳入 MiniMax;迁移改名为 237;allowlist 去掉未使用的 www.* / api.minimax.cn,abab 前缀收窄到 5/6/7。
2026-09-08 17:41:29 +08:00
mason0510
c8deeb0b05
fix(grok): 移除 Chat Completions 中不支持的 external_web_access 参数
...
模型:Claude Sonnet 5
修复内容:在 Grok Chat Completions raw 转发流程中添加 external_web_access 参数过滤,修复 Grok API 返回 400 "Argument not supported: external_web_access" 错误
修改理由:Grok xAI API 不支持 external_web_access 参数,Sub2API Responses API 路径已有过滤,但 Chat Completions 路径缺失,导致 grok-4.5 等模型调用失败返回 502
验证结果:代码已通过本地 Demo 验证递归删除逻辑正常,待远端编译部署后验证真实 API 调用
影响范围:仅影响 Grok 平台 Chat Completions API 请求体处理,不影响 Responses API 和其他平台
回滚方式:git revert 本次提交,或手动移除 openai_gateway_chat_completions_raw.go line 159-163 的 sanitizeGrokUnsupportedFields 调用
[AI: 梁心语/Claude Sonnet 5 @ 2026-09-08T17:30]
2026-09-08 16:41:09 +08:00
22zyfeng-collab
b6ee9f0a32
fix(antigravity): preserve OAuth subscription plan across account creation
2026-09-08 15:02:32 +08:00
G.Wood-Sun
6c8ad0bd4a
fix: respect registration visibility on login
2026-09-08 14:44:41 +08:00
Rain
7137fae2a6
test(proxies): preserve incoming references when editing backups
2026-09-08 13:58:34 +08:00
Rain
859de4c8fd
fix(proxies): allow repeated expiry fallback and preserve origin
2026-09-08 13:56:20 +08:00
Rain
e835f79819
fix(proxies): make backup references directed and shareable
2026-09-08 13:56:19 +08:00
feeeei
99eba19ffc
fix: 升级 go-redis 至 v9.22.0 修复连接池 nil-ctx panic
...
上游竞态:调用方超时后 wantConn.ctx 被置 nil,拨号 goroutine 用 nil ctx
创建超时上下文触发 panic(go-redis#3630,v9.18.0 起修复)。
生产环境在连接池饥饿 + 请求超时风暴下每秒触发上万次。
同步将 ZRangeByScore 迁移至 ZRangeArgs:v9.22.0 将其标记为 deprecated,
golangci-lint staticcheck 拦截(SA1019)。ZRangeArgs{ByScore: true} 与原
调用发出的 Redis 命令参数完全等价(LIMIT 编码逻辑相同)。
2026-09-08 13:46:59 +08:00
Rain
38cfd7e2d9
fix(proxies): preserve omitted expiry and fallback settings
2026-09-08 13:38:41 +08:00
Rain
3fc08745a6
fix(model-plaza): include active subscription groups
2026-09-08 13:37:53 +08:00
Rain
efc6e4a816
fix: validate announcement and proxy date ranges
2026-09-08 13:37:52 +08:00
savvym
df64b5f368
fix(frontend): keep account action menu within viewport
2026-09-08 10:46:56 +08:00
github-actions[bot]
772a0382f0
chore: sync VERSION to 0.2.3 [skip ci]
2026-09-08 02:35:11 +00:00
Wesley Liddick
8fa67d477d
Merge pull request #6791 from Wei-Shaw/fix/group-model-allowlist-schema-repair
...
fix(db): 升级自愈 groups.model_allowlist 列,修复 API 密钥/订阅列表加载失败
v0.2.3
2026-09-08 10:03:23 +08:00
tunsuy and Cursor
ef891643e9
merge(main): resolve antigravity toolConfig conflict for #6689
...
Keep always-on toolConfig from main (reasoning models without tools) while
retaining the PR behavior that drops mixed built-in tools when client
function tools are present, so includeServerSideToolInvocations stays unused.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:48:44 +08:00
shaw
4a7739acdf
fix(db): converge groups.model_allowlist on upgrade
...
235 只在「models_list_config 存在且 model_allowlist 不存在」时重命名,而迁移一旦
写入 schema_migrations 就会按「文件名 + checksum」整份跳过,不再重跑。因此只要数据库
在 235 之后回到旧结构(为回滚旧版本镜像手工改回列名、或按旧结构做了部分恢复),
应用依旧能正常启动,但每个关联 groups 的查询都会失败:
pq: column groups.model_allowlist does not exist
表现为「API 密钥」「我的订阅」「管理端订阅列表」等页面加载失败。
新增可重放的收敛迁移 236,升级即自愈:只有旧列则重命名(数据原样保留);两列并存
则在新列仍为默认空值时回填旧列配置;两列都没有则按默认值补建。收尾统一把
model_allowlist 归一成 NOT NULL DEFAULT '{}',与 ent schema 对齐。
判定列是否存在改用 attrelid = 'groups'::regclass(跟随 search_path),
不再写死 table_schema = 'public',避免与 ALTER TABLE 的解析路径分叉。
Fixes #6780
2026-09-08 09:15:23 +08:00
Wesley Liddick
14e0a49e17
Merge pull request #6767 from alfadb/fix/ollama-cloud-max-tokens-all-platforms
...
fix(ollama): 修复 DeepSeek 多协议输出上限并自动选择 Bearer 鉴权
2026-09-08 08:26:51 +08:00
Wesley Liddick
b439dddfda
Merge pull request #6772 from ZeroClover/fix/account-test-model-names
...
fix(accounts): populate display names for live test models
2026-09-08 08:25:54 +08:00
Qilin You
7e62731863
perf: reduce allocations for large Responses image payloads
2026-09-08 01:54:32 +08:00
xlplbo and Claude Fable 5.1
b42157a725
test(service): 修正 Windows 下两例环境相关用例
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01SAJmqcVA9TLacTCD1bLh4i
2026-09-07 23:21:29 +08:00
xlplbo and Claude Fable 5.1
335fcdc1d6
fix(plugin): 提交插件包前先关闭 ZIP 读取器
...
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01SAJmqcVA9TLacTCD1bLh4i
2026-09-07 23:21:29 +08:00
Zero Clover
e094a3f40b
fix(accounts): populate display names for live test models
2026-09-07 21:59:35 +08:00
alfadb
57387445f3
fix(ollama): select Bearer auth for Anthropic endpoints automatically
2026-09-07 21:54:22 +08:00
alfadb
2fc24d8879
fix(ollama): normalize Messages base URLs before token clamping
2026-09-07 21:54:22 +08:00
alfadb
cc91155fe4
fix(ollama): clamp DeepSeek output limits across API protocols
2026-09-07 21:54:21 +08:00
github-actions[bot]
b7dba62678
chore: sync VERSION to 0.2.2 [skip ci]
2026-09-07 13:01:57 +00:00
Wesley Liddick
5485f368b2
Merge pull request #6690 from alfadb/fix/astra-pro-mode
...
fix(openai): 保留 Codex OAuth 请求中的 Astra reasoning.mode
v0.2.2
2026-09-07 20:42:37 +08:00
Wesley Liddick
f8351e9e33
Merge pull request #6658 from ZeroClover/feat/group-model-allowlist
...
feat(groups)!: enforce model allowlists across gateway endpoints
2026-09-07 20:25:57 +08:00
tunsuy and Cursor
140e172951
chore: retrigger CI after test fix
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 20:10:50 +08:00
chihao.ou
941a0487ab
fix(accounts): allow removing inactive group assignments
2026-09-07 20:05:08 +08:00
tunsuy and Cursor
1d4b9ead45
test(antigravity): align buildTools expectations with mixed-tool drop
...
Update the leftover buildTools unit test that still expected
googleSearch to coexist with client function declarations.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 20:04:33 +08:00
chihao.ou
7f0f579bb0
fix(accounts): keep failed token refresh accounts selected
2026-09-07 20:01:24 +08:00
chihao.ou
dfb3978b9d
feat(payment): render help text as sanitized Markdown
2026-09-07 19:51:03 +08:00
shaw
2031c1d5ad
fix(groups): merge main and resolve model allowlist conflicts
...
Resolve three conflicts from main's #6680 (supplementUnmappedOpenAIModels):
1. gateway_handler.go — keep PR's allowlist refactoring (ModelAllowlistEnabled,
writeAllowlistedModelsList, modelListingSource); main's OpenAI branch in
writeModelsList was auto-merged.
2. group_models_list.go (modify/delete) — delete file per PR intent; relocate
supplementUnmappedOpenAIModels to group_model_allowlist.go where gateway_service
and openai_codex_models_service can still call it.
3. openai_codex_models_service.go — combine main's supplementUnmappedOpenAIModels
wrapping with PR's ModelAllowlistEnabled() guard.
Also fix two auto-merged test files that still referenced the old
GroupModelsListConfig / ModelsListConfig types.
2026-09-07 19:44:03 +08:00
刘佳林 and 刘佳林
6f2295bfc7
test(minimax): 按平台注册表推导调度器 snapshot 期望数量
...
新增 MiniMax 后 canonical token / 账号查询数增加,硬编码期望值过期。
改为从 schedulerSnapshotPlatforms 派生 bucket 与 query 数量,避免下次加平台再踩坑。
账号查询计数辅助函数仅用于单测,放在 unit test 文件以免 unused。
Co-authored-by: 刘佳林 <DuskLin@users.noreply.github.com >
2026-09-07 11:40:11 +00:00
Wesley Liddick
8193b80a59
Merge pull request #6743 from MarushiruDonato/fix/gpt6-astra-instructions
...
fix(openai): 修正 GPT-6 Astra 提示词选择
2026-09-07 19:22:43 +08:00
shaw
f6d580200a
fix: update #6688 test assertions for #6678 image modality and #6718 ultra level
...
- TestCodexAliasFailoverMappingHonorsModelRouting/no_routing_rule: expect
["text","image"] instead of ["text"] — image input is resolved per-account
via isOpenAICodexImageInputModel, independent of routing rules
- TestCodexAliasFailoverMappingHonorsModelRouting/routing_rule: expect
effort levels to include "ultra" (added by #6718 )
2026-09-07 19:13:01 +08:00
shaw
b491c3271b
fix: rename redeemMaxErrorsPerHour to redeemMaxFailedAttempts in tests
...
#6669 renamed the constant from redeemMaxErrorsPerHour to
redeemMaxFailedAttempts (fixed 10-minute window), but #6670 's tests
still referenced the old name, breaking compilation on main.
2026-09-07 19:00:04 +08:00
shaw
d106b3b5a0
fix: resolve merge conflict with main and fix #6718 missing group parameter
...
- Resolve conflict in openai_codex_models_service_test.go: keep both
GPT-6 Astra instructions template assertion (from this PR) and ultra
reasoning level + multi_agent fields (from #6718 on main)
- Fix compilation error on main: add missing `group *Group` parameter
to buildCodexModelsManifestForAccounts calls in
openai_codex_model_metadata_test.go (lines 24, 32) — caused by #6688
changing the function signature while #6718 added new callers with
the old signature
2026-09-07 18:58:00 +08:00
Wesley Liddick
10fe591e54
Merge pull request #6660 from ouchihao/codex/issue-312-onboarding-button-shadow
...
fix(onboarding): remove button text shadows
2026-09-07 18:51:44 +08:00
Wesley Liddick
66cd8a72bc
Merge pull request #6738 from Milesians/codex/fix-interval-multiplier-display
...
fix: 修正区间倍率展示并补齐模型广场 1h 缓存价格
2026-09-07 18:51:00 +08:00
Wesley Liddick
dc46daa690
Merge pull request #6726 from DuskLin/feat/openai-reasoning-effort-mapping-deny
...
feat(groups): 推理强度映射转发值支持拒绝
2026-09-07 18:50:41 +08:00
Wesley Liddick
65246e69d7
Merge pull request #6643 from MarushiruDonato/fix/codex-manifest-reactive-vmodel
...
fix(frontend): 修复 Codex Manifest 编辑状态丢失
2026-09-07 18:50:27 +08:00
Wesley Liddick
de69bf1e03
Merge pull request #6655 from ouchihao/codex/issue-275-account-expiry-presets
...
feat(accounts): add month and year expiry presets
2026-09-07 18:50:13 +08:00
Wesley Liddick
eba85dc478
Merge pull request #6680 from cyhhao/fix/openai-mixed-account-model-list
...
fix(openai): retain default models in mixed account catalogs
2026-09-07 18:50:03 +08:00
Wesley Liddick
abf70750fd
Merge pull request #6669 from ssharkkky/fix/redeem-fixed-failure-window
...
fix(redeem): use a fixed 10-minute failure window
2026-09-07 18:49:51 +08:00
Wesley Liddick
88b697d5df
Merge pull request #6673 from ssharkkky/fix/backup-migrations-advisory-lock
...
fix(backup): serialize pg_dump/psql with the migrations advisory lock
2026-09-07 18:49:34 +08:00
Wesley Liddick
3eb5a84ea1
Merge pull request #6700 from qiu121/codex/fix/deepseek-account-cost-peak
...
fix(billing): 修复 DeepSeek 高峰账号成本少计
2026-09-07 18:49:19 +08:00
Wesley Liddick
71e5a4baf7
Merge pull request #6486 from aofee/codex/fix-grok-media-inconclusive-eligibility
...
fix(grok): do not reject media accounts on incomplete billing
2026-09-07 18:48:39 +08:00