-
7c60ee3c85
feat: Beta策略支持按模型区分处理(模型白名单)
shaw
2026-04-07 20:28:14 +08:00
-
b2e379cf7a
fix: 非流式路径在上游终态事件output为空时从delta事件重建响应内容
shaw
2026-04-07 19:30:45 +08:00
-
08b454423b
chore: renew expired xlsx audit exceptions to 2026-07-06
shaw
2026-04-07 17:22:17 +08:00
-
f3aa54b770
fix: 非Claude Code客户端system prompt迁移至messages以绕过第三方应用检测
shaw
2026-04-07 17:06:47 +08:00
-
3a07e92b60
fix(openai): do not normalize /completion API token based accounts
Alex
2026-04-07 11:40:41 +03:00
-
7eecc49c3a
fix(openai): do not normalize API token based accounts
Alex
2026-04-07 11:27:57 +03:00
-
-
9ab2fd7f9e
Merge pull request #1391 from Zqysl/qingyu/fix-openai-passthrough-failover-429-529
Wesley Liddick
2026-04-07 15:18:52 +08:00
-
-
bf2b590273
Merge pull request #1397 from weak-fox/fix/active-filter-excludes-rate-limited
Wesley Liddick
2026-04-07 08:26:51 +08:00
-
-
9151d34d40
refactor(channel): split long functions, extract shared validation, move billing validation to service
erio
2026-04-05 22:05:13 +08:00
-
-
-
339d906e54
chore: update readme
shaw
2026-04-05 22:31:01 +08:00
-
f47c865555
chore: update readme
shaw
2026-04-05 22:26:55 +08:00
-
58df2f0bdc
chore: sync VERSION to 0.1.108 [skip ci]
github-actions[bot]
2026-04-05 14:12:15 +00:00
-
c71b1d63e5
Merge pull request #1460 from imfusheng/main
Wesley Liddick
2026-04-05 22:01:08 +08:00
-
-
a07296770c
fix: remove remaining Sora references from frontend
shaw
2026-04-05 21:26:47 +08:00
-
8154575d70
Merge pull request #1464 from touwaeriol/fix/channel-platform-isolation
Wesley Liddick
2026-04-05 21:09:10 +08:00
-
-
d757df8a4b
Merge pull request #1463 from touwaeriol/feat/remove-sora
Wesley Liddick
2026-04-05 21:08:48 +08:00
-
-
c5688fef9a
fix: remove cross-platform pricing/mapping leakage for antigravity groups
erio
2026-04-05 16:17:30 +08:00
-
-
-
19655a15f1
fix: gofmt formatting
erio
2026-04-05 18:56:40 +08:00
-
f345b0f595
fix: use upstream versions of shared files and remove only Sora code
erio
2026-04-05 18:48:41 +08:00
-
58707f8a2a
fix: restore upstream api_contract_test and remove Sora fields
erio
2026-04-05 18:18:58 +08:00
-
c6089ccb33
fix: remove Sora DI from wire_gen.go and clean remaining upstream Sora references
erio
2026-04-05 17:50:01 +08:00
-
f585a15eff
fix(billing): prevent channel_mapped override from reverting BillingModel when channel did not map
shaw
2026-04-05 17:22:59 +08:00
-
08e69af572
fix: remove empty DataManagement tab from settings (was Sora S3 storage)
erio
2026-04-05 15:30:40 +08:00
-
294b4bcbac
fix: remove Sora S3 profile code from DataManagementView, keep backup functionality
erio
2026-04-05 15:12:13 +08:00
-
67008b5d15
fix: restore DataManagementView.vue — incorrectly deleted during Sora removal
erio
2026-04-05 15:07:12 +08:00
-
a29f5a4849
fix: gofmt formatting
erio
2026-04-05 14:37:21 +08:00
-
1b1c08f7fb
fix: remove media_type from usage_log SQL queries and test stubs
erio
2026-04-05 14:31:33 +08:00
-
0c72be0403
fix: gofmt alignment and remove media_type from usage_log repo queries
erio
2026-04-05 14:25:29 +08:00
-
b4bd89b96b
fix: remove media_type from usage_log SQL queries + gofmt + inline test helpers
erio
2026-04-05 14:18:04 +08:00
-
5bb8b2add6
fix: resolve CI failures — gofmt, unused functions, test parameter mismatches
erio
2026-04-05 14:05:15 +08:00
-
93b42ccfea
fix: resolve CI failures — gofmt, unused functions, missing test helpers
erio
2026-04-05 13:52:48 +08:00
-
ff86154a03
refactor: remove unused OpenAIOAuthOptions after Sora platform removal
erio
2026-04-05 13:41:51 +08:00
-
fcee67e317
fix: remove remaining unused Sora variables causing TypeScript build failure
erio
2026-04-05 04:11:30 +08:00
-
155900e62f
fix: remove unused Sora references causing TypeScript build failure
erio
2026-04-05 04:04:47 +08:00
-
9c514c9808
chore: drop Sora database schema and regenerate ent code
erio
2026-04-05 17:19:07 +08:00
-
62e80c602d
revert: completely remove all Sora functionality
erio
2026-04-05 17:11:01 +08:00
-
-
dbb248df52
chore: sync VERSION to 0.1.107 [skip ci]
github-actions[bot]
2026-04-05 06:02:08 +00:00
-
66779f1c5f
同步ag版本号
偷得浮生
2026-04-05 13:01:28 +08:00
-
2c856b67ca
Update oauth.go
偷得浮生
2026-04-05 13:00:23 +08:00
-
-
bf45581104
Merge pull request #1455 from touwaeriol/feat/channel-management
Wesley Liddick
2026-04-04 23:42:33 +08:00
-
-
e88b2890d1
refactor: unify interval filtering and eliminate redundant Resolve calls
erio
2026-04-04 15:15:33 +08:00
-
1b5ae71d1f
fix: resolve golangci-lint issues — remove unused constants and functions, fix gofmt
erio
2026-04-04 14:58:20 +08:00
-
d4ff835bf1
revert: remove antigravity credits precheck logic (not part of channel feature)
erio
2026-04-04 14:32:26 +08:00
-
e27b0adbc8
refactor: remove resolveOpenAIUpstreamModel, use normalizeCodexModel directly
erio
2026-04-04 14:07:19 +08:00
-
e59fa8637a
fix: resolve cherry-pick compilation and test issues
erio
2026-04-04 12:38:50 +08:00
-
58f758c816
feat(channel): improve cache strategy and add restriction logging
erio
2026-04-03 13:54:18 +08:00
-
feb6999d9a
fix: channel cache fail-close, group conflict check across pages, status toggle stale data
erio
2026-04-02 23:47:37 +08:00
-
71f61bbc47
fix: resolve 5 audit findings in channel/credits/scheduling
erio
2026-04-02 20:28:04 +08:00
-
6d3ea64a35
test: add unit tests for channel pricing restriction in scheduling phase
erio
2026-04-02 13:40:36 +08:00
-
1fca2bfab1
fix: address review findings for channel restriction refactoring
erio
2026-04-02 13:36:58 +08:00
-
ce41afb756
refactor: move channel model restriction from handler to scheduling phase
erio
2026-04-02 13:24:30 +08:00
-
b4a42a640d
refactor: extract helpers to reduce duplication and function length in gateway billing
erio
2026-04-02 03:28:52 +08:00
-
58b26cb4c8
refactor: merge RecordUsage and RecordUsageWithLongContext into shared core
erio
2026-04-02 02:45:43 +08:00
-
b453c32743
refactor: split channelToResponse into pricingToResponse + intervalToResponse
erio
2026-04-02 02:35:11 +08:00
-
3cd398b098
refactor: extract computeTokenBreakdown to deduplicate billing logic
erio
2026-04-02 02:33:05 +08:00
-
d3127b8eb1
refactor: use structured error responses in channel handler
erio
2026-04-02 02:32:39 +08:00
-
6de1d0cb33
refactor: split buildCache into sub-functions, reduce nesting 5→2
erio
2026-04-02 02:28:32 +08:00
-
6c718578a5
refactor(ui): extract formatCacheTokens and formatMultiplier to shared utils
erio
2026-04-02 02:24:05 +08:00
-
0d241d52eb
refactor: replace magic strings with named constants
erio
2026-04-02 02:22:15 +08:00
-
212eaa3a05
fix(ui): show token breakdown when image model uses token billing
erio
2026-04-02 01:40:52 +08:00
-
f3ab3fe5e2
fix: billing mode display follows cost calculation result
erio
2026-04-02 01:24:17 +08:00
-
b8c56ff940
fix: validate prices must be >= 0, remove debug logs
erio
2026-04-02 00:52:19 +08:00
-
38da737e6c
feat: channel token pricing takes priority over per-image billing
erio
2026-04-01 23:29:01 +08:00
-
1b2ea7a1df
fix(ui): also fix floating point precision in mTokToPerToken
erio
2026-04-01 23:18:03 +08:00
-
a9e5fc8539
fix(ui): floating point precision in perTokenToMTok conversion
erio
2026-04-01 23:15:59 +08:00
-
9b213115e7
fix: address audit findings - cache sync, validation, consistency
erio
2026-04-01 23:13:58 +08:00
-
5534347328
test: add unit tests for channel platform matching, interval validation, credits check
erio
2026-04-01 22:41:39 +08:00
-
2355029dc1
fix: validate empty intervals + antigravity platform pricing match
erio
2026-04-01 22:03:00 +08:00
-
8d25335b01
fix: antigravity groups now match anthropic/gemini channel pricing
erio
2026-04-01 21:47:47 +08:00
-
c0b5900a37
feat(ui): display three-level model mapping chain in usage logs
erio
2026-04-01 17:57:11 +08:00
-
35a9290528
fix: add cost nil guard to Anthropic/Antigravity RecordUsage paths
erio
2026-04-01 17:13:31 +08:00
-
c9145ad4d8
fix: golangci-lint test assertion and gofmt
erio
2026-04-01 16:39:38 +08:00
-
3851628a43
fix: resolve golangci-lint issues
erio
2026-04-01 16:30:47 +08:00
-
d72ac92694
feat: image output token billing, channel-mapped billing source, credits balance precheck
erio
2026-04-01 15:08:57 +08:00
-
2555951be4
feat(channel): 渠道管理全链路集成 — 模型映射、定价、限制、用量统计
erio
2026-04-01 01:51:19 +08:00
-
669bff78c4
fix(ui): 模型映射改用平台色字体,删除多余的边框色函数
erio
2026-03-31 21:36:45 +08:00
-
c90d1f2527
fix(ui): 模型映射输入框改为平台色字体,保持默认边框
erio
2026-03-31 21:35:31 +08:00
-
40cebc250f
feat(ui): 渠道表单模型标签和映射输入框显示平台对应颜色
erio
2026-03-31 21:27:32 +08:00
-
ddd495fb48
feat(ui): 渠道列表状态列改为 Toggle 开关,支持直接启用/禁用
erio
2026-03-31 21:21:03 +08:00
-
58f2044637
fix(ui): 渠道定价折叠态模型名完整展示,不再截断
erio
2026-03-31 20:48:18 +08:00
-
dfe3fdc1cc
fix(channel): 模型限制以原始请求模型检查定价列表,而非映射后模型
erio
2026-03-31 20:38:02 +08:00
-
705131e172
fix(channel): 前端重复模型校验改为按平台检查
erio
2026-03-31 19:40:07 +08:00
-
88759407c7
feat(channel): 模型映射源支持通配符匹配
erio
2026-03-31 19:32:14 +08:00
-
6c99cc611c
fix(channel): 渠道表单校验增强 — 空模型定价报错 + 必填标记
erio
2026-03-31 19:22:48 +08:00
-
3457bcbfcd
fix(channel): 修复 invalidateCache 存入 typed nil 导致 loadCache panic
erio
2026-03-31 18:37:30 +08:00
-
eb385457b2
fix(channel): 全平台渠道映射覆盖 + 公共函数抽取 + 死代码清理
erio
2026-03-31 15:26:20 +08:00
-
4ea8b4cb4f
refactor(channel): 抽取渠道映射公共函数 + OpenAI映射到body + 空响应修复 + 清理日志
erio
2026-03-31 02:11:24 +08:00
-
91bdcf8994
fix(channel): 模型限制用映射后模型检查 + 平台开关保留配置不删除
erio
2026-03-31 01:34:16 +08:00
-
8d03c52e15
feat(channel): 通配符定价匹配 + OpenAI BillingModelSource + 按次价格校验 + 用户端计费模式展示
erio
2026-03-31 00:23:45 +08:00
-
0fbc9a44d3
fix(billing): 按次计费回退到默认 PerRequestPrice
erio
2026-03-30 23:04:48 +08:00
-
632035aabd
feat(billing): 网关计费迁移到 CalculateCostUnified + 模型限制错误统一
erio
2026-03-30 22:58:28 +08:00
-
a51e0047b7
feat(usage): 使用记录增加计费模式字段 — 记录/展示/筛选 token/按次/图片
erio
2026-03-30 22:13:16 +08:00
-
726730bb0e
fix(channel): splice替换model_pricing条目 + 增强调试日志
erio
2026-03-30 21:47:06 +08:00
-
faff1771c4
debug(channel): 添加 formToAPI 调试日志 + 移除 Sora 平台
erio
2026-03-30 21:37:27 +08:00
-
b06cd06ec1
feat(channel): 平台配置改为勾选式,勾选后出现 Tab 但不自动跳转
erio
2026-03-30 21:04:48 +08:00
-
95751d8009
feat(channel): 对话框 Tab 布局 — 基础设置 + 平台独立 Tab + 固定高度
erio
2026-03-30 19:06:03 +08:00
-
14e565a004
fix(channel): 分组加载时序修复 — 预加载 + await 确保分组数据就绪
erio
2026-03-30 17:50:48 +08:00
-
ce694701a9
fix(i18n): 渠道管理页面标题国际化
erio
2026-03-30 17:26:16 +08:00
-
12d03e4030
feat(channel): 模型价格自动填充 + 默认定价 API
erio
2026-03-30 16:11:49 +08:00
-
0b1ce6be8f
feat(channel): 缓存扁平化 + 网关映射集成 + 计费模式统一 + 模型限制
erio
2026-03-30 15:04:30 +08:00