"backend/internal/vscode:/vscode.git/clone" did not exist on "f3ed95d4dea643e54417d0b4e6b8ccd318e0631d"
- 18 Feb, 2026 6 commits
-
-
-
shaw authored
-
shaw authored
-
Wesley Liddick authored
feat: add Cache TTL Override per account
-
Wesley Liddick authored
fix: strip unsupported parameters from Codex model requests
-
Wesley Liddick authored
fix: accept openai x-stainless-* header to fix CORS error
-
- 17 Feb, 2026 1 commit
-
-
John Doe authored
- Account-level cache TTL override: rewrite Anthropic cache_creation token classification (5m
↔ 1h) in streaming/non-streaming responses - New DB field cache_ttl_overridden in usage_log for billing tracking - Migration 055_add_cache_ttl_overridden - Frontend: CacheTTL override toggle in account create/edit modals - Ent schema regenerated for new usage_log fields Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
- 16 Feb, 2026 1 commit
-
-
0-don authored
-
- 15 Feb, 2026 1 commit
-
-
程序猿MT authored
-
- 14 Feb, 2026 2 commits
-
-
shaw authored
Anthropic API 的 cache_creation 对象区分了 ephemeral_5m 和 ephemeral_1h 两种缓存创建 token,1h 单价远高于 5m(如 claude-3-5-haiku: 5m=$1/MTok, 1h=$6/MTok)。此前系统统一按 5m 单价计费,导致计费偏低。 后端: - pricing_service: 加载 LiteLLM 的 cache_creation_input_token_cost_above_1hr - billing_service: GetModelPricing 启用分类计费(安全守卫 1h>5m), CalculateCost 按 5m/1h 分别计费,无明细时回退到 5m 单价 - gateway_service: parseSSEUsage/handleNonStreamingResponse 用 gjson 提取嵌套 cache_creation 对象的 ephemeral_5m/1h_input_tokens - antigravity_gateway_service: extractSSEUsage/extractClaudeUsage 同步提取 - usage_log: 修复 GORM column tag 确保写入正确的数据库列 - 新增迁移 054: 删除 GORM 自动生成的重复列 前端: - 使用记录 tooltip 展示 5m/1h 缓存创建明细(带彩色 badge 区分) - 表格单元格缓存写入数值旁显示 1h 标识
-
Kortan authored
-
- 13 Feb, 2026 12 commits
-
-
Wesley Liddick authored
docker-compose.yml add PGDATA env
-
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 头不存在 → 回退到聚合头(向后兼容)
-
yang chanfa authored
`docker-compose.yml` also have to define the `PGDATA` env
-
Wesley Liddick authored
修复:StatCard 数值溢出问题
-
Wesley Liddick authored
fix: 修复侧边栏 Logo 加载时的闪烁问题
-
Wesley Liddick authored
feat(admin): Add group filtering for account listings
-
shaw authored
gosec -conf 只支持 JSON 格式,将 .gosec.yaml 转换为 .gosec.json
-
Wesley Liddick authored
chore: 配置 gosec 排除规则
-
wucm667 authored
- 添加 title 属性,鼠标悬停时显示完整数值 - 添加 truncate 类防止数值溢出 - 优化长数值的显示效果
-
wucm667 authored
- 新增 backend/.gosec.yaml 配置文件,排除 G704 (SSRF) 检查 - 更新 security-scan.yml workflow,使用 gosec 配置文件 - 原因:作为 API 网关平台,需要代理请求到配置的上游服务,所有上游 URL 来自管理员配置而非用户输入
-
wucm667 authored
Co-authored-by:Copilot <175728472+Copilot@users.noreply.github.com>
-
wucm667 authored
- 添加 settingsLoaded 条件判断,确保公共设置加载完成后再显示 Logo - 避免在设置未加载时显示默认 Logo 造成的闪烁效果
-
- 12 Feb, 2026 1 commit
-
-
程序猿MT authored
-
- 11 Feb, 2026 15 commits
-
-
kyx236 authored
- Add groupID parameter to ListAccounts and ListWithFilters methods - Implement account filtering by group ID in repository query - Add group query parameter parsing in account handler - Update all ListAccounts/ListWithFilters call sites with groupID parameter - Add group filter UI component to AccountTableFilters - Add i18n translations for group filter label in English and Chinese - Update API contract and test stubs to reflect new signature - Enable filtering accounts by their assigned groups in admin panel
-
Wesley Liddick authored
fix: 修复登录/注册页面自定义 Logo 不显示及闪烁问题
-
Wesley Liddick authored
feat(admin): 为账户和兑换码新增邮箱搜索及限流过滤功能
-
Wesley Liddick authored
[UPDATE] 增强 Claude Thinking 模式支持与 Opus 4.6 动态预算适配
-
Wesley Liddick authored
feat(antigravity): 支持 Refresh Token 批量导入创建 OAuth 账号
-
Wesley Liddick authored
fix: include Gemini thoughtsTokenCount in output token billing
-
程序猿MT authored
-
wucm667 authored
- sanitizeUrl 新增 allowDataUrl 选项,支持 data:image/ 格式的 base64 图片 URL - AuthLayout 改用 appStore 缓存数据,避免重复 API 请求和默认 Logo 闪烁 Co-Authored-By:Claude Opus 4.6 <noreply@anthropic.com>
-
kyx236 authored
- Add used_by_email column to redeem code export CSV for better user identification - Implement rate_limited status filter in account listing with RateLimitResetAt check - Extend redeem code search to include user email in addition to code matching - Add API key search capability to user listing filters - Display user email in redeem code table used_by column for improved visibility - Update search placeholders in UI to reflect expanded search capabilities (email, username, notes, API key) - Improve Chinese and English localization strings for search hints
-
sususu98 authored
Gemini 2.5 Pro/Flash thinking models return thoughtsTokenCount separately from candidatesTokenCount in usageMetadata, but this field was not parsed or included in billing calculations, causing thinking tokens to be unbilled. - Add ThoughtsTokenCount field to GeminiUsageMetadata struct - Include thoughtsTokenCount in OutputTokens across all 3 Gemini usage parsing paths (non-streaming, streaming, compat layer) - Add tests covering thinking token scenarios Closes #554
-
SilentFlower authored
-
Wesley Liddick authored
feat(antigravity): 添加 onboardUser 支持,修复 project_id 缺失问题
-
Edric Li authored
- 新增 OnboardUser API 客户端方法,支持账号 onboarding 获取 project_id - loadProjectIDWithRetry 增加 onboard 回退:LoadCodeAssist 未返回 project_id 时自动触发 onboarding - GetAccessToken 中 project_id 补齐改用轻量 FillProjectID 替代全量 RefreshAccountToken - 补齐逻辑增加 5 分钟冷却机制,防止频繁重试 - OnboardUser 轮询等待改为 context 感知,支持提前取消 - 提取 mergeCredentials 辅助方法消除重复代码 - 新增 extractProjectIDFromOnboardResponse 和 resolveDefaultTierID 单元测试
-
SilentFlower authored
🧠 refactor(antigravity): 完善 thinking 预算分配策略并重构工具构建逻辑
-
SilentFlower authored
✨ feat(antigravity): 支持 thinking adaptive 类型并适配 Opus 4.6 动态预算 🧪 test(gateway): 增加 thinking 模式解析与签名块过滤的边界用例测试
-
- 10 Feb, 2026 1 commit
-
-
Tian authored
后端新增 ValidateRefreshToken service 方法和 POST /oauth/refresh-token 端点, 前端新增 API/Composable/UI 集成,OAuthAuthorizationFlow i18n 动态化, 支持在 Antigravity 创建账号时批量粘贴 Refresh Token 自动验证并创建账号。
-