erio
d67b560c57
chore: bump version to 0.1.94.6
2026-03-10 18:23:40 +08:00
erio
1247d821e9
fix(antigravity): enrich usage with account error on success path and save validation_url in error_message
2026-03-10 18:23:39 +08:00
erio
a4fdc1dc4b
fix: handle errcheck for Rows.Close and resp.Body.Close in sora code
2026-03-10 18:16:58 +08:00
erio
7b3df5b807
chore: bump version to 0.1.94.5
2026-03-10 18:09:11 +08:00
erio
226844b8b2
fix(antigravity): change VALIDATION_REQUIRED 403 to SetError and enrich degraded usage with account error status
...
- VALIDATION_REQUIRED now marks account as error (permanent) instead of temp unschedulable (10min)
- When usage fetch fails with 401 but account has 403 error, show correct forbidden/banned status instead of needs_reauth
2026-03-10 18:08:58 +08:00
erio
e2b9c40093
feat(antigravity): add usage status detection and 403 validation block
...
- Add needs_verify, is_banned, needs_reauth, error_code fields to UsageInfo
for Antigravity accounts (omitempty ensures zero impact on other platforms)
- Add singleflight dedup for Antigravity usage requests with independent
context to prevent caller cancel cascade
- Return degraded UsageInfo with error_code instead of HTTP 500 on errors
- Differentiate cache TTL: success/403 → 3min, recoverable errors → 1min
- Add 403 validation_block: Antigravity validation-type 403 triggers
temp_unschedulable (10min auto-recovery) instead of permanent SetError
- Frontend: display needs_reauth and degraded error states in usage cell
- Bump version to 0.1.94.4
2026-03-10 14:01:03 +08:00
erio
9a4137add3
fix: return degraded UsageInfo instead of 500 for Antigravity usage errors
...
When the Antigravity quota API returns non-403 errors (e.g. 401
UNAUTHENTICATED), return a UsageInfo with an error field instead of
propagating the error as HTTP 500. This matches Antigravity Manager's
behavior of gracefully displaying errors.
2026-03-10 05:44:31 +08:00
erio
4345862adf
fix: use shared max_line_size config for OpenAI Responses SSE scanner
...
Two SSE scanners in openai_gateway_messages.go were hardcoded to 1MB
while all other scanners use defaultMaxLineSize (500MB) with config
override. This caused Responses API streams to fail on large payloads.
2026-03-10 02:37:25 +08:00
erio and Claude Opus 4.6
cb67d5508b
chore: bump version to 0.1.94.3
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 22:53:31 +08:00
erio and Claude Opus 4.6
914a0cd4c8
fix: add OpenAI passthrough check in account selection and refresh
...
Add IsOpenAIPassthroughEnabled() bypass in two places:
- SelectAccountWithLoadAwareness Layer 2 candidate filtering (line 1285)
- resolveFreshSchedulableOpenAIAccount model check (line 1446)
Without these checks, passthrough accounts are filtered out for models
like gpt-5.4 that aren't in the account's model_mapping, causing 503.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 22:53:31 +08:00
erio and Claude Opus 4.6
091999639e
chore: bump version to 0.1.94.2
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 22:35:45 +08:00
erio and Claude Opus 4.6
f41711c14f
fix: restore OpenAI passthrough mode check lost during v0.1.94 merge
...
The isModelSupportedByAccount function lost the OpenAI passthrough
check during the upstream merge, causing GPT-5.4 and other models
to be rejected for passthrough accounts.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 22:35:36 +08:00
erio and Claude Opus 4.6
87dd98d5c8
fix(frontend): restore vertical layout for API Key quota badges
...
Remove the horizontal flex wrapper so quota badges stack vertically
like all other capacity badges in the column.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 20:11:22 +08:00
erio and Claude Opus 4.6
bf3e37dad3
chore: remove custom feature descriptions from CLAUDE.md and AGENTS.md
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 19:44:02 +08:00
erio and Claude Opus 4.6
c7879626aa
style: apply gofmt formatting
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 19:24:19 +08:00
erio and Claude Opus 4.6
20e9882cb1
chore: bump version to 0.1.94.1
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 18:35:22 +08:00
erio and Claude Opus 4.6
028442d00b
merge: integrate upstream v0.1.94 into release/custom-0.1.94
...
Merge upstream v0.1.94 onto our custom branch (based on release/custom-0.1.93).
Key additions beyond upstream:
- Startup stale concurrency slot cleanup on process restart
- iframe language passthrough for embedded payment/custom pages
- embedded-url.spec.ts frontend tests
- Admin payment integration API docs update
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 18:35:16 +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
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
yangjianbo and Claude Opus 4.6
87f4ed591e
fix(billing): 修复 OpenAI fast 档位计费并补齐展示
...
- 打通 service_tier 在 OpenAI HTTP、WS、passthrough 与 usage 记录中的传递
- 修正 priority/flex 计费逻辑,并将 fast 归一化为 priority
- 在用户端和管理端补齐服务档位与计费明细展示
- 补齐前后端测试,并修复 WS 限流信号重复持久化导致的全量回归失败
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-09 09:51:26 +08:00
shaw
440d2e28ed
fix: 恢复context-1m-2025-08-07在oauth账号中传递
2026-03-09 09:29:33 +08:00
Wesley Liddick
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
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
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
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
6acb9f7910
Merge pull request #864 from StarryKira/fix/clear-thinking-context-management
...
[Fix] Fix issue #851
2026-03-09 09:02:58 +08:00
erio
eb6f5c6927
test: update UserAgent version assertion to match 1.20.4
2026-03-09 08:59:21 +08:00
erio
7ccb4c8ea3
chore: bump Antigravity user agent version to 1.20.4
2026-03-09 08:59:21 +08:00
erio
4ce986d47d
fix: also update viper default max_line_size from 40MB to 500MB
...
The viper config default (config.go) was overriding the constant
in gateway_service.go. Both must be updated to take effect.
2026-03-09 08:56:54 +08:00
erio
91ef085d7d
fix: increase SSE scanner max line size from 40MB to 500MB
...
4K image base64 data can exceed 40MB limit, causing "bufio.Scanner:
token too long" errors. Scanner is adaptive (starts at 64KB, grows
as needed), so increasing the cap has no impact on normal responses.
2026-03-09 08:56:54 +08:00
Wesley Liddick
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
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
erio
4677ea367b
fix: also update viper default max_line_size from 40MB to 500MB
...
The viper config default (config.go) was overriding the constant
in gateway_service.go. Both must be updated to take effect.
2026-03-09 08:05:02 +08:00
erio
b2bc47abd7
fix: increase SSE scanner max line size from 40MB to 500MB
...
4K image base64 data can exceed 40MB limit, causing "bufio.Scanner:
token too long" errors. Scanner is adaptive (starts at 64KB, grows
as needed), so increasing the cap has no impact on normal responses.
2026-03-09 07:52:32 +08:00
erio
5179920166
docs: update deployment docs and PR workflow conventions
2026-03-08 22:06:10 +08:00
erio
99bd72c237
chore: bump Antigravity user agent version to 1.20.4
2026-03-08 22:05:56 +08:00
Wesley Liddick
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
erio
4cd6d86426
feat(frontend): add API Key quota progress bars to usage window column
...
Display daily/weekly/total quota utilization as progress bars in the
usage window column for API Key accounts, providing visual feedback
consistent with other account types (OAuth/Gemini).
- Daily quota: "1d" label with reset countdown
- Weekly quota: "7d" label with reset countdown
- Total quota: "total" label (no reset)
2026-03-08 21:35:26 +08:00
时雨遥 and Copilot
fa72f1947a
Update backend/internal/service/gateway_request_test.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-08 21:21:36 +08:00
erio
e603b67bdb
fix(frontend): restore quota badges to capacity column and rename usage label to total
...
- Restore QuotaBadge (D/W/total) back to the capacity column
- Rename usage window total label from "$" to "total"
2026-03-08 21:21:28 +08:00
时雨遥 and Copilot
9ee7d3935d
Update backend/internal/service/gateway_request.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-08 21:21:28 +08:00
Elysia
1071fe0ac7
add test file
2026-03-08 21:08:09 +08:00
erio
0be003377f
feat(frontend): add swipe-to-select for admin tables
...
Squash of all swipe-select commits for clean rebase.
2026-03-08 21:07:43 +08:00
Elysia
ca3f497b56
fix issue #851
2026-03-08 21:00:34 +08:00
Wesley Liddick
034b84b707
Merge pull request #861 from bayma888/feature/usage-user-balance-popup
...
feat(ui): 使用记录页面点击用户邮箱可查看用户信息和充值记录
2026-03-08 20:37:45 +08:00
Wesley Liddick
1624523c4e
Merge pull request #860 from bayma888/feature/group-display-fix
...
feat(ui): 优化分组选择器、交互体验和样式遮挡体验问题
2026-03-08 20:37:36 +08:00