Wesley Liddick and GitHub
6595c7601e
Merge pull request #1050 from touwaeriol/fix/rate-limit-redis-window-reset
...
fix(billing): add window expiration check to Redis rate limit Lua script
2026-03-16 14:17:41 +08:00
Wesley Liddick and GitHub
6447be4534
Merge pull request #1047 from DaydreamCoding/fix/codex-stream-isolation
...
fix(gateway): 防止 OpenAI Codex 跨用户串流 + WS 连接池条件式 MarkBroken
2026-03-16 11:00:07 +08:00
Wesley Liddick and GitHub
474165d7aa
Merge pull request #1043 from touwaeriol/pr/antigravity-credits-overages
...
feat: Antigravity AI Credits overages handling & balance display
2026-03-16 09:22:19 +08:00
Wesley Liddick and GitHub
94e067a2e2
Merge pull request #1040 from 0xObjc/codex/fix-user-spending-ranking-others
...
fix(admin): polish spending ranking and usage defaults
2026-03-16 09:19:46 +08:00
Wesley Liddick and GitHub
4293c89166
Merge pull request #1036 from Ethan0x0000/feat/usage-endpoint-distribution
...
fix: record endpoint info for all API surfaces & unify normalization via middleware
2026-03-16 09:17:32 +08:00
Wesley Liddick and GitHub
ec82c37da5
Merge pull request #1042 from touwaeriol/feat/unified-oauth-refresh-api
...
feat: unified OAuth token refresh API with distributed locking
2026-03-16 09:00:42 +08:00
Wesley Liddick and GitHub
d3a9f5bb88
Merge pull request #1027 from touwaeriol/feat/ignore-insufficient-balance-errors
...
feat(ops): add ignore insufficient balance errors toggle and extract error constants
2026-03-15 19:10:18 +08:00
Wesley Liddick and GitHub
7eb0415a8a
Merge pull request #1028 from IanShaw027/fix/open-issues-cleanup
...
fix: 修复多个issues - Gemini schema 兼容性、批量编辑白名单、Docker 工具支持和限额字段处理Fix/open issues cleanup
2026-03-15 19:09:49 +08:00
shaw
220fbe6544
fix: 恢复 UsageProgressBar 中被意外移除的窗口统计数据展示
...
commit 0debe0a8 在修复 OpenAI WS 用量窗口刷新问题时,意外删除了
UsageProgressBar 中的 window stats 渲染逻辑和格式化函数。
恢复进度条上方的统计行(requests, tokens, account cost, user cost)
及对应的 4 个格式化 computed 属性。
2026-03-15 18:29:23 +08:00
shaw
ae44a94325
fix: 重置密码功能新增UI配置发送邮件域名
2026-03-15 17:52:29 +08:00
Wesley Liddick and GitHub
8321e4a647
Merge pull request #1023 from YanzheL/fix/claude-output-effort-logging
...
fix: extract and log Claude output_config.effort in usage records
2026-03-15 16:45:37 +08:00
Wesley Liddick and GitHub
3084330d0c
Merge pull request #1019 from Ethan0x0000/feat/usage-endpoint-distribution
...
feat: add endpoint metadata and usage endpoint distribution insights
2026-03-15 16:42:03 +08:00
Wesley Liddick and GitHub
b566649e79
Merge pull request #1025 from touwaeriol/fix/rate-limit-nil-window-reset
...
fix(billing): treat nil rate limit window as expired to prevent usage accumulation
2026-03-15 16:33:14 +08:00
Wesley Liddick and GitHub
10a6180e4a
Merge pull request #1026 from touwaeriol/fix/group-quota-clear
...
fix(billing): allow clearing group quota limits and treat 0 as zero-limit
2026-03-15 16:33:00 +08:00
Wesley Liddick and GitHub
cbe9e78977
Merge pull request #1007 from StarryKira/fix/streaming-failover-corruption
...
fix(gateway): 防止流式 failover 拼接腐化导致客户端收到双 message_start fix issue #991
2026-03-15 16:29:31 +08:00
Wesley Liddick and GitHub
74145b1f39
Merge pull request #1017 from SsageParuders/fix/bedrock-account-quota
...
fix: Bedrock 账户配额限制不生效
2026-03-15 16:28:42 +08:00
shaw
6da5fa01b9
fix(frontend): 修复运维设置对话框保存按钮始终禁用的问题
...
后端默认 alert.enabled=true 但 recipients 为空,前端验证将其视为
错误并阻断保存按钮。移除该阻断性验证,改为保存时自动禁用无收件人
的邮件通知配置。
2026-03-14 20:39:29 +08:00
shaw
616930f9d3
refactor(frontend): 将备份和数据管理页面合并为设置页的标签页
...
将独立的 /admin/backup 和 /admin/data-management 页面整合到设置页,
作为「备份」和「Sora 存储」标签页,减少侧边栏条目,集中管理配置。
- 移除 BackupView 和 DataManagementView 的 AppLayout 包装
- 在 SettingsView 中以子组件形式嵌入,使用 v-show 切换标签
- 删除独立路由和侧边栏菜单入口
- 备份/数据标签页下隐藏主保存按钮(各自有独立保存)
- 优化标签栏样式适配7个标签,PC端支持细滚动条
- 清理未使用的图标组件和 i18n 键
2026-03-14 20:22:39 +08:00
Wesley Liddick and GitHub
b9c31fa7c4
Merge pull request #999 from InCerryGit/fix/enc_coot
...
fix: handle invalid encrypted content error and retry logic.
2026-03-14 19:29:07 +08:00
Wesley Liddick and GitHub
17b339972c
Merge pull request #1000 from touwaeriol/fix/ops-agg-tuning
...
fix(ops): tune aggregation constants to prevent PG overload
2026-03-14 19:03:03 +08:00
shaw
39f8bd91b9
fix: remove unused saveRecords method to pass lint
2026-03-14 19:01:27 +08:00
Wesley Liddick and GitHub
aa4e37d085
Merge pull request #966 from GuangYiDing/feat/db-backup-restore
...
feat: 数据库定时备份与恢复(S3 兼容存储,支持 Cloudflare R2)
2026-03-14 18:58:56 +08:00
Wesley Liddick and GitHub
a1dc00890e
Merge pull request #944 from miraserver/feat/backend-mode
...
feat: add Backend Mode toggle to disable user self-service
2026-03-14 17:53:54 +08:00
Wesley Liddick and GitHub
dfbcc363d1
Merge pull request #969 from wucm667/feat/quota-fixed-reset-mode
...
feat: 账号配额支持固定时间重置模式
2026-03-14 17:52:56 +08:00
Wesley Liddick and GitHub
e32977dd73
Merge pull request #997 from SsageParuders/refactor/bedrock-channel-merge
...
refactor: merge bedrock-apikey into unified bedrock channel with auth_mode
2026-03-14 17:48:01 +08:00
Wesley Liddick and GitHub
fc00a4e3b2
Merge pull request #959 from touwaeriol/feat/antigravity-403-detection
...
feat(antigravity): add 403 forbidden status detection and display
2026-03-14 17:23:22 +08:00
Wesley Liddick and GitHub
db1f6ded88
Merge pull request #961 from 0xObjc/codex/ops-openai-token-visibility
...
feat(ops): make OpenAI token stats optional
2026-03-14 17:23:01 +08:00
Wesley Liddick and GitHub
2e3e8687e1
Merge pull request #993 from xvhuan/fix/codex-responses-id-prefix-hotfix-20260314
...
fix: 止血 Codex/Responses 原生 input id 被误改成 fc_*
2026-03-14 13:54:26 +08:00
Wesley Liddick and GitHub
9350ecb62b
Merge pull request #987 from Ethan0x0000/feat-chatcompletions2repsonses-fix
...
fix: chat compatibility model fallback and reasoning_content output
2026-03-14 13:41:47 +08:00
Wesley Liddick and GitHub
a4a026e8da
Merge pull request #990 from LvyuanW/admin-openai-available-models-fix
...
fix: respect OpenAI OAuth model mapping in admin available models
2026-03-14 13:33:18 +08:00
Wesley Liddick and GitHub
342fd03e72
Merge pull request #986 from LvyuanW/openai-model-mapping-fix
...
fix: honor account model mapping before group fallback
2026-03-14 13:32:26 +08:00
Wesley Liddick and GitHub
e7086cb3a3
Merge pull request #988 from LvyuanW/scheduler-snapshot-sync
...
fix: sync scheduler snapshot on account updates
2026-03-14 12:38:48 +08:00
shaw
4f2a97073e
chore: update docs
2026-03-14 12:37:36 +08:00
Wesley Liddick and GitHub
7407e3b45d
Merge pull request #984 from touwaeriol/docs/ecosystem-projects
...
docs: add iframe integration feature and ecosystem projects section
2026-03-14 12:31:25 +08:00
Wesley Liddick and GitHub
e6d59216d4
Merge pull request #975 from Ylarod/aws-bedrock
...
sub2api: add bedrock support
2026-03-14 10:52:24 +08:00
Wesley Liddick and GitHub
4588258d80
Merge pull request #960 from 0xObjc/codex/user-spending-ranking
...
feat(admin): add user spending ranking dashboard view
2026-03-13 23:06:30 +08:00
Wesley Liddick and GitHub
c12e48f966
Merge pull request #949 from kunish/fix/remove-done-stop-sequence
...
fix: remove SSE termination marker from DefaultStopSequences
2026-03-13 22:56:29 +08:00
Wesley Liddick and GitHub
ec8f50a658
Merge pull request #951 from wanXcode/fix/dashboard-user-trend-label
...
fix(dashboard): prefer username over email prefix in recent usage chart
2026-03-13 22:56:13 +08:00
Wesley Liddick and GitHub
99c9191784
Merge pull request #974 from 0xObjc/codex/next-pr-base-20260313
...
fix(admin): default dashboard date range to today
2026-03-13 22:55:14 +08:00
shaw
6bb02d141f
chore: remove accidentally committed PR diagnostic report
2026-03-13 22:52:05 +08:00
Wesley Liddick and GitHub
07bb2a5f3f
Merge pull request #952 from xvhuan/feat/billing-ledger-decouple-usage-log-20260312
...
feat: 解耦计费正确性与 usage_logs 批量写压
2026-03-13 22:46:09 +08:00
Wesley Liddick and GitHub
417861a48e
Merge pull request #956 from share-wey/main
...
chore: codex transform fixes and feature compatibility
2026-03-13 22:36:29 +08:00
Wesley Liddick and GitHub
b7e878de64
Merge pull request #980 from touwaeriol/feat/redeem-subscription-support
...
feat(redeem): support subscription type in create-and-redeem API
2026-03-13 22:15:33 +08:00
Wesley Liddick and GitHub
1ee984478f
Merge pull request #957 from touwaeriol/feat/group-rate-multipliers-modal
...
feat(groups): add rate multipliers management modal
2026-03-13 11:11:13 +08:00
Wesley Liddick and GitHub
fd693dc526
Merge pull request #967 from StarryKira/fix/admin-reset-quota-monthly
...
fix: 管理员重置配额补全 monthly 字段并修复 ristretto 缓存异步问题 fix issue #964
2026-03-13 11:10:47 +08:00
Wesley Liddick and GitHub
ecea13757b
Merge pull request #955 from DaydreamCoding/feat/gpt-training-off
...
feat: GPT Private设置数据不用于训练
2026-03-13 09:12:33 +08:00
Wesley Liddick and GitHub
826090e099
Merge pull request #946 from StarryKira/antigravity-gemini-thought-signature-fix
...
fix Antigravity gemini thought signature fix
2026-03-12 13:51:46 +08:00
Wesley Liddick and GitHub
7399de6ecc
Merge pull request #938 from xvhuan/fix/account-extra-scheduler-pressure-20260311
...
精准收紧 accounts.extra 观测字段触发的调度重建
2026-03-12 13:51:00 +08:00
Wesley Liddick and GitHub
c0110cb5af
Merge pull request #941 from CoolCoolTomato/main
...
fix: 修复gpt-5.2以上模型映射到gpt-5.2以下时verbosity参数引发的报错
2026-03-12 09:35:09 +08:00
Wesley Liddick and GitHub
1f8e1142a0
Merge pull request #932 from 0xObjc/codex/usage-view-charts
...
feat(admin): add metric toggle to usage charts
2026-03-12 09:32:40 +08:00
Wesley Liddick and GitHub
1e51de88d6
Merge pull request #937 from lxohi/fix/anthropic-stream-keepalive
...
fix: 为 Anthropic Messages API 流式转发添加下游 keepalive ping
2026-03-12 09:30:18 +08:00
Wesley Liddick and GitHub
30995b5397
Merge pull request #936 from xvhuan/fix/ops-write-pressure-20260311
...
降低 ops_error_logs 与 scheduler_outbox 的数据库写放大
2026-03-12 09:28:34 +08:00
Wesley Liddick and GitHub
eb60f67054
Merge pull request #933 from xvhuan/fix/dashboard-read-pressure-20260311
...
降低 admin/dashboard 读路径压力,避免 snapshot-v2 并发击穿
2026-03-12 09:28:14 +08:00
Wesley Liddick and GitHub
78193ceec1
Merge pull request #931 from xvhuan/fix/db-write-amplification-20260311
...
降低 quota 与 Codex 快照热路径的数据库写放大
2026-03-12 09:27:34 +08:00
Wesley Liddick and GitHub
f0e08e7687
Merge pull request #930 from GuangYiDing/feat/gemini-25-flash-image-support
...
feat: 修复 Gemini 生图接口并新增前端生图测试能力
2026-03-12 09:27:19 +08:00
Wesley Liddick and GitHub
10b8259259
Merge pull request #909 from StarryKira/feature/admin-reset-subscription-quota
...
Feature/管理员可以重置账号额度
2026-03-12 09:26:47 +08:00
shaw
9d81467937
refactor: 重构 Chat Completions 端点,采用类型安全的 Responses API 转换
...
将 /v1/chat/completions 端点从 ResponseWriter 劫持模式重构为独立的
类型安全转换路径,与 Anthropic Messages 端点架构对齐:
- 在 apicompat 包新增 Chat Completions 完整类型定义和双向转换器
- 新增 ForwardAsChatCompletions service 方法,走 Responses API 上游
- Handler 改为独立的账号选择/failover 循环,不再劫持 Responses handler
- 提取 handleCompatErrorResponse 为 Chat Completions 和 Messages 共用
- 删除旧的 forwardChatCompletions 直传路径及相关死代码
2026-03-11 22:15:32 +08:00
Wesley Liddick and GitHub
8dd38f4775
Merge pull request #926 from 7976723/feat/chat-completions-compat-v2
...
feat: 添加 OpenAI Chat Completions 兼容端点(基于 #648,修复编译错误和运行时 panic)
2026-03-11 17:42:03 +08:00
Wesley Liddick and GitHub
6bbe7800be
Merge pull request #908 from wucm667/fix/ops-alert-group-account-metrics
...
fix: 补充缺失的组级和账户级运维告警指标
2026-03-11 15:04:07 +08:00
Wesley Liddick and GitHub
7455476c60
Merge pull request #918 from rickylin047/fix/responses-string-input
...
fix(openai): convert string input to array for Codex OAuth responses endpoint (fix #919 )
2026-03-11 08:54:39 +08:00
Wesley Liddick and GitHub
3cc407bc0e
Merge pull request #900 from ischanx/feat/admin-bind-subscription-group
...
feat: 允许管理员为持有有效订阅的用户绑定订阅类型分组
2026-03-10 11:20:47 +08:00
shaw
00a0a12138
feat: Anthropic平台可配置 anthropic-beta 策略
2026-03-10 11:20:10 +08:00
Wesley Liddick and GitHub
ac6bde7a98
Merge pull request #872 from StarryKira/fix/oauth-linuxdo-invitation-required
...
fix: Linux.do OAuth 注册支持邀请码两步流程 (fix #836 )
2026-03-10 09:10:35 +08:00
Wesley Liddick and GitHub
d2d41d68dd
Merge pull request #894 from touwaeriol/pr/startup-concurrency-cleanup
...
feat: cleanup stale concurrency slots on startup
2026-03-10 09:08:33 +08:00
Wesley Liddick and GitHub
944b7f7617
Merge pull request #904 from james-6-23/fix-pool-mode-retry
...
fix: OpenAI临时性400错误支持池模式同账号重试 & HelpTooltip层级修复
2026-03-10 09:08:12 +08:00
Wesley Liddick and GitHub
53825eb073
Merge pull request #903 from touwaeriol/fix/openai-responses-sse-max-line-size-v2
...
fix: use shared max_line_size config for OpenAI Responses SSE scanner
2026-03-10 09:06:48 +08:00
Wesley Liddick and GitHub
1a7f49513f
Merge pull request #896 from touwaeriol/pr/fix-quota-badge-vertical-layout
...
fix(frontend): stack quota badges vertically in capacity column
2026-03-10 09:04:53 +08:00
Wesley Liddick and GitHub
885a2ce7ef
Merge pull request #893 from touwaeriol/pr/iframe-lang-passthrough
...
feat(frontend): pass locale to iframe embedded pages via lang parameter
2026-03-10 09:04:37 +08:00
Wesley Liddick and GitHub
14ba80a0af
Merge pull request #897 from DaydreamCoding/feat/batch-reset-and-openai-jwt
...
feat: OpenAI 账号信息增强 & 批量操作支持
2026-03-10 09:03:59 +08:00
shaw
c8eff34388
chore: update readme
2026-03-09 16:25:56 +08:00
shaw
f19b03825b
chore: update docs
2026-03-09 16:11:44 +08:00
shaw
25178cdbe1
fix: 修复gpt->claude同步请求返回sse的bug
2026-03-09 15:58:44 +08:00
shaw
a461538d58
fix: 修复gpt->claude转换无法命中codex缓存问题
2026-03-09 15:08:37 +08:00
shaw
ebe6f418f3
fix: gpt->claude格式转换对齐effort映射和fast
2026-03-09 11:42:35 +08:00
Wesley Liddick and GitHub
391e79f8ee
Merge pull request #875 from mt21625457/fix/openai-fast-billing-clean
...
fix(billing): 修复 OpenAI fast 档位计费并补齐展示
2026-03-09 10:32:18 +08:00
shaw
c7fcb7a84b
feat: apikey限额支持查询重置时间
2026-03-09 10:22:24 +08:00
shaw
440d2e28ed
fix: 恢复context-1m-2025-08-07在oauth账号中传递
2026-03-09 09:29:33 +08:00
Wesley Liddick and GitHub
6cb8980404
Merge pull request #807 from touwaeriol/fix/openai-passthrough-v2
...
fix(openai): remove misplaced passthrough check from isModelSupportedByAccount
2026-03-09 09:06:35 +08:00
Wesley Liddick and GitHub
fe752bbd35
Merge pull request #853 from touwaeriol/pr/swipe-select-admin-tables
...
feat(frontend): 为后台账号管理和 IP 管理增加拖筐选中能力
2026-03-09 09:04:02 +08:00
Wesley Liddick and GitHub
c74d451fa2
Merge pull request #874 from touwaeriol/pr/increase-sse-max-line-size
...
fix: increase SSE scanner max line size from 40MB to 500MB
2026-03-09 09:03:39 +08:00
Wesley Liddick and GitHub
12d743fb35
Merge pull request #868 from touwaeriol/pr/bump-antigravity-version
...
chore: bump Antigravity user agent version to 1.20.4
2026-03-09 09:03:25 +08:00
Wesley Liddick and GitHub
6acb9f7910
Merge pull request #864 from StarryKira/fix/clear-thinking-context-management
...
[Fix] Fix issue #851
2026-03-09 09:02:58 +08:00
Wesley Liddick and GitHub
97aaa24733
Merge pull request #858 from james-6-23/fix/pool-mode-03bf3485
...
支持 API Key 上游池模式的同账号重试次数配置与自定义错误策略
2026-03-09 08:48:53 +08:00
Wesley Liddick and GitHub
faf6441633
Merge pull request #854 from james-6-23/main
...
feat(admin): 支持定时测试自动恢复并统一账号恢复入口
2026-03-09 08:48:36 +08:00
shaw
00c151b463
feat: gpt->claude格式转换支持图片识别
2026-03-09 08:44:09 +08:00
Wesley Liddick and GitHub
a2ae9f1f27
Merge pull request #866 from touwaeriol/pr/apikey-quota-usage-bars
...
feat(frontend): add API Key quota progress bars to usage window
2026-03-08 21:50:24 +08:00
Wesley Liddick and GitHub
034b84b707
Merge pull request #861 from bayma888/feature/usage-user-balance-popup
...
feat(ui): 使用记录页面点击用户邮箱可查看用户信息和充值记录
2026-03-08 20:37:45 +08:00
Wesley Liddick and GitHub
1624523c4e
Merge pull request #860 from bayma888/feature/group-display-fix
...
feat(ui): 优化分组选择器、交互体验和样式遮挡体验问题
2026-03-08 20:37:36 +08:00
Wesley Liddick and GitHub
313afe14ce
Merge pull request #842 from pkssssss/fix/openai-ws-usage-refresh
...
fix: 修复 OpenAI WS 用量窗口刷新与限额状态不同步
2026-03-08 20:34:54 +08:00
Wesley Liddick and GitHub
01180b316f
Merge pull request #841 from touwaeriol/feature/account-periodic-quota
...
feat(account): 为 API Key 账号新增日/周周期性配额限制
2026-03-08 20:34:15 +08:00
Wesley Liddick and GitHub
ee7d061001
Merge pull request #839 from pkssssss/fix/simple-mode-admin-concurrency-30
...
fix: 简易模式仅提升管理员默认并发到 30
2026-03-08 20:33:11 +08:00
shaw
03bf348530
fix(lint): gofmt formatting fixes for 3 files
...
Align struct field assignments and fix indentation detected by
golangci-lint v2.9's gofmt checker.
2026-03-07 23:24:09 +08:00
shaw
cab60ef735
fix(ci): downgrade golangci-lint v2.11 to v2.9 to fix lint timeout
...
v2.10.1 introduced a recursive markDepsForAnalyzingSource change that
causes all transitive dependencies (including 132K lines of ent
generated code) to be analyzed from source instead of compiled export
data, leading to >30 min CI timeout.
v2.9.0 is the first version with Go 1.26 support (PR #6271 , merged
Feb 10 2026) and does not have this performance regression.
2026-03-07 23:10:03 +08:00
shaw
a3791104f9
feat: 支持后台设置是否启用整流开关
2026-03-07 21:55:38 +08:00
shaw
bcb6444f89
fix(ci): update Go version check in release workflow to 1.26.1
2026-03-07 17:11:50 +08:00
Wesley Liddick and GitHub
c2b14693b4
Merge pull request #835 from biubiutata/codex/fix-openai-originator-detection
...
fix(openai): 统一官方 Codex 客户端识别逻辑
2026-03-07 17:03:52 +08:00
shaw
92d35409de
feat: 为openai分组增加messages调度开关和默认映射模型
2026-03-07 17:02:19 +08:00
shaw
351a08f813
fix: announcement强制弹窗通知补全迁移sql
2026-03-07 15:36:18 +08:00
shaw
a58dc787a9
fix(ci): 精简golangci-lint配置解决v2.11超时问题
...
- 移除staticcheck 470+冗余检查项,all已包含全部
- unused: generated-is-used改为true,跳过ent 13万行生成代码分析
- unused: exported-fields-are-used改为true,避免全项目导出字段引用追踪
- unused: field-writes-are-uses改为true
2026-03-07 15:17:16 +08:00
shaw
7079edc2d0
feat: announcement支持强制弹窗通知
2026-03-07 15:06:13 +08:00