- 08 Mar, 2026 1 commit
-
-
Wesley Liddick authored
fix: 简易模式仅提升管理员默认并发到 30
-
- 07 Mar, 2026 26 commits
-
-
神乐 authored
-
shaw authored
Align struct field assignments and fix indentation detected by golangci-lint v2.9's gofmt checker.
-
shaw authored
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.
-
shaw authored
-
神乐 authored
-
神乐 authored
-
shaw authored
-
Wesley Liddick authored
fix(openai): 统一官方 Codex 客户端识别逻辑
-
shaw authored
-
shaw authored
-
shaw authored
- 移除staticcheck 470+冗余检查项,all已包含全部 - unused: generated-is-used改为true,跳过ent 13万行生成代码分析 - unused: exported-fields-are-used改为true,避免全项目导出字段引用追踪 - unused: field-writes-are-uses改为true
-
shaw authored
-
admin authored
-
shaw authored
后端UpdateAccountRequest.Status的oneof验证缺少error状态, 前端编辑表单也未处理error状态,导致编辑异常账号时无法保存
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
-
shaw authored
golangci-lint v2.7 was built with Go 1.25 and cannot lint Go 1.26 targets. v2.8+ added Go 1.26 support.
-
Wesley Liddick authored
Fix/empty streamfix issue #791
-
Wesley Liddick authored
fix(ccswitch): improve import provider name and usage parsing
-
Wesley Liddick authored
fix(account): preserve existing credentials when saving apikey accounts
-
shaw authored
GO-2026-4602 (os), GO-2026-4601 (net/url), GO-2026-4600 and GO-2026-4599 (crypto/x509). The crypto/x509 fixes are only available in go1.26.1+, not backported to go1.25.x.
-
shaw authored
对齐/v1/responses的Forward方法,修复两处不一致: - 成功响应时从响应头提取OAuth账号的Codex使用量数据 - 非failover错误场景下应用管理员配置的错误透传规则
-
Wesley Liddick authored
fix(usage): 修复用量查询 429 重试风暴,增加负缓存、请求去重与随机延迟
-
- 06 Mar, 2026 13 commits
-
-
ckken authored
-
ckken authored
-
JIA-ss authored
- Fix gofmt: align struct field comments in UsageCache, trim trailing whitespace on const comments - Fix errcheck: use comma-ok on type assertion for singleflight result Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
JIA-ss authored
Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
JIA-ss authored
Prevents 429 rate-limit retry storms and reduces upstream correlation risk for Anthropic usage API queries. Three changes: 1. Negative caching (1 min TTL) — 429/error responses are now cached, preventing every subsequent page load from re-triggering failed API calls. 2. singleflight dedup — concurrent requests for the same account are collapsed into a single upstream call, preventing cache stampede. 3. Random jitter (0–800 ms) — staggers multi-account cache-miss bursts so requests from different accounts don't hit upstream simultaneously with identical TLS fingerprints, reducing anti-abuse correlation risk. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
Gemini Wen authored
When customErrorCodes is disabled or modelMapping is empty, explicitly delete the fields inherited from currentCredentials spread to avoid preserving stale values. Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
Gemini Wen authored
-
Wesley Liddick authored
fix: Setup Token 账号使用真实 utilization 值替代状态估算
-
Wesley Liddick authored
fix(openai): 修复 WS 模式下用量窗口不显示
-
shaw authored
-
神乐 authored
-
神乐 authored
-
神乐 authored
-