- 23 Jan, 2026 1 commit
-
-
song authored
-
- 21 Jan, 2026 5 commits
-
-
song authored
新增环境变量: - GATEWAY_ANTIGRAVITY_MAX_RETRIES_CLAUDE - GATEWAY_ANTIGRAVITY_MAX_RETRIES_GEMINI_TEXT - GATEWAY_ANTIGRAVITY_MAX_RETRIES_GEMINI_IMAGE 未设置时回退到平台级 GATEWAY_ANTIGRAVITY_MAX_RETRIES
-
song authored
-
0xff26b9a8 authored
-
0xff26b9a8 authored
主要变更: 1. 重构代码结构: - 将 CleanJSONSchema 及其相关辅助函数从 request_transformer.go 提取到独立的 schema_cleaner.go 文件中,实现逻辑解耦。 2. 逻辑优化与修正: - 参考 Antigravity-Manager (json_schema.rs) 的实现逻辑,修正了 Schema 清洗策略。
-
song authored
在设置限流标记时同时更新 last_used_at,使得刚触发 429 的账号 在后续调度中优先级降低,让其他账号有更多被选中的机会。
-
- 20 Jan, 2026 5 commits
- 19 Jan, 2026 1 commit
-
-
song authored
-
- 17 Jan, 2026 19 commits
-
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
-
song authored
- "Resource has been exhausted" → URL 级别限流,立即切换 URL - "exhausted your capacity on this model" → 账户配额限流,重试 3 次(指数退避)后标记限流
-
song authored
-
song authored
- 新增 antigravityRetryLoop 函数统一处理 Forward 和 ForwardGemini 的重试逻辑 - 429 日志增加 base_url 字段便于调试 - 删除重复的 shouldRetryUpstreamError 方法
-
- 16 Jan, 2026 9 commits
-
-
song authored
- 429 优先切换到下一个 URL 重试 - 只有所有 URL 都返回 429 时才限流账户并返回错误 - 与 client.go 中的逻辑保持一致
-
song authored
- URLAvailability 新增 lastSuccess 字段追踪最近成功的 URL - GetAvailableURLs 返回列表时优先放置 lastSuccess - 所有 Antigravity API 调用成功后调用 MarkSuccess 更新优先级
-
song authored
- System Prompt: 改为简短版,添加 OpenCode 过滤、MCP XML 协议注入、SYSTEM_PROMPT_END 标记 - HTTP Headers: 只保留 Content-Type/Authorization/User-Agent,移除 Accept 和 Host - User-Agent: 改为 antigravity/1.11.9 windows/amd64 - requestType: 动态判断 (agent/web_search/image_gen) - BaseURLs: 添加 daily sandbox 备用 URL - Fallback: 扩展触发条件 (429/408/404/5xx)
-
Wesley Liddick authored
perf(前端): 优化页面加载性能和用户体验 和 修复静态 import 导致入口文件膨胀问题
-
shaw authored
-
shaw authored
- 支持Anthropic OAuth/SetupToken账号的5h窗口费用阈值控制 - 支持账号级别的并发会话数量限制 - 使用Redis缓存窗口费用(30秒TTL)减少数据库压力 - 费用计算基于标准费用(不含账号倍率)
-
yangjianbo authored
- 为 /assets/* 设置 1 年缓存 + immutable 标记 - 包含 logo.png 和 favicon.ico - 移除可能干扰缓存的 Pragma/Expires 头 效果: - 浏览器缓存命中后不再发送请求 - Cloudflare CDN 可正确缓存静态资源 - 重复访问页面秒开 Co-Authored-By:Claude Opus 4.5 <noreply@anthropic.com>
-
程序猿MT authored
-
yangjianbo authored
问题: - 原实现使用静态 import() 映射表 - Rollup 静态分析时将所有 37 个视图组件引用打包进 index.js - 导致首次加载时需要解析大量未使用的 import 语句 修复: - 移除静态 import() 映射,改用纯路径字符串邻接表 - 通过 router.getRoutes() 动态获取组件的 import 函数 - 延迟初始化 routePrefetch,首次导航时才创建实例 - 更新测试文件使用 mock router 效果: - index.js 中动态 import 引用从 37 个减少到 1 个 - 首次加载不再包含未使用的视图组件引用 - 41 个测试全部通过 Co-Authored-By:Claude Opus 4.5 <noreply@anthropic.com>
-