1. 24 Feb, 2026 2 commits
    • erio's avatar
      fix: distinguish client disconnection from upstream retry failure · 0dacdf48
      erio authored
      Before this change, when a client disconnected mid-request, the error
      message was "Upstream request failed after retries", which is misleading
      and pollutes error logs. Now we check context.Err() to return a more
      accurate "Client disconnected" message for both Claude and Gemini
      forward paths.
      0dacdf48
    • shaw's avatar
      fix: 修复 antigravity UserAgent 重构遗留的编译错误和测试不匹配 · e435a46d
      shaw authored
      - oauth.go: GetUserAgent() 缺少闭合大括号导致语法错误
      - client_test.go/oauth_test.go: UserAgent 变量已重构为 GetUserAgent(),更新测试引用
      - model_rate_limit_test.go: gemini-3-pro-preview 映射目标已更新为 gemini-3.1-pro-high,同步测试
      e435a46d
  2. 23 Feb, 2026 3 commits
  3. 22 Feb, 2026 7 commits
  4. 21 Feb, 2026 3 commits
  5. 20 Feb, 2026 2 commits
  6. 19 Feb, 2026 10 commits
  7. 18 Feb, 2026 1 commit
  8. 17 Feb, 2026 1 commit
  9. 16 Feb, 2026 2 commits
  10. 14 Feb, 2026 5 commits
  11. 13 Feb, 2026 4 commits
    • shaw's avatar
      fix: Anthropic 429 限流使用精确的窗口重置时间而非聚合最大值 · e6814314
      shaw authored
      当账号仅触发 5h 窗口限流时,旧逻辑从聚合头
      anthropic-ratelimit-unified-reset 读取重置时间,该值为所有窗口的
      最大值(即 7d 重置时间),导致账号被标记为不可调度约 6 天。
      
      新增 calculateAnthropic429ResetTime 函数,解析 Anthropic 的
      per-window 头(5h-utilization/reset、7d-utilization/reset、
      surpassed-threshold),判断实际触发的窗口并使用对应的重置时间:
      - 仅 5h 超标 → 使用 5h-reset(约 5 小时)
      - 仅 7d 超标 → 使用 7d-reset
      - 两者均超标 → 使用 7d-reset(较长冷却)
      - per-window 头不存在 → 回退到聚合头(向后兼容)
      e6814314
    • yangjianbo's avatar
      fix(ops): 修复日志级别过滤并增强OpenAI错误诊断日志 · f96acf6e
      yangjianbo authored
      - 移除 warn 级别下 access info 的强制入库补写,确保运行时日志级别真实生效
      
      - 将 OpenAI fallback matched 与 passthrough 断流提示按需求降级为 info
      
      - 为 codex_cli_only 与 instructions required 场景补充请求诊断字段(含 User-Agent)
      
      - 出于安全考虑移除请求体预览,仅保留 request_body_size 与白名单头信息
      
      - 新增/更新回归测试,覆盖 Forward 入口到日志落库链路
      f96acf6e
    • yangjianbo's avatar
      feat: 完善日志 · 2459eafb
      yangjianbo authored
      2459eafb
    • yangjianbo's avatar