"backend/cmd/vscode:/vscode.git/clone" did not exist on "50a8116ae9223a15b49f13a66a9b5072050c7109"
- 02 Feb, 2026 1 commit
-
-
song authored
-
- 29 Jan, 2026 1 commit
-
-
song authored
Gemini API 不接受 contents 数组中 parts 为空的消息,会返回 400 INVALID_ARGUMENT 错误。 添加 filterEmptyPartsFromGeminiRequest 函数在转发前过滤这类消息。 影响范围:ForwardGemini (antigravity) 和 ForwardNative (gemini)
-
- 28 Jan, 2026 1 commit
-
-
song authored
-
- 27 Jan, 2026 3 commits
- 26 Jan, 2026 1 commit
-
-
song authored
对齐 Antigravity 平台的图片计费逻辑: - 添加 extractImageSize() 方法提取图片尺寸 - Forward() 和 ForwardNative() 返回 ImageCount/ImageSize - 支持分组自定义图片价格和倍率
-
- 23 Jan, 2026 3 commits
- 21 Jan, 2026 2 commits
-
-
song authored
新增环境变量: - GATEWAY_ANTIGRAVITY_MAX_RETRIES_CLAUDE - GATEWAY_ANTIGRAVITY_MAX_RETRIES_GEMINI_TEXT - GATEWAY_ANTIGRAVITY_MAX_RETRIES_GEMINI_IMAGE 未设置时回退到平台级 GATEWAY_ANTIGRAVITY_MAX_RETRIES
-
0xff26b9a8 authored
主要变更: 1. 重构代码结构: - 将 CleanJSONSchema 及其相关辅助函数从 request_transformer.go 提取到独立的 schema_cleaner.go 文件中,实现逻辑解耦。 2. 逻辑优化与修正: - 参考 Antigravity-Manager (json_schema.rs) 的实现逻辑,修正了 Schema 清洗策略。
-
- 20 Jan, 2026 5 commits
- 19 Jan, 2026 1 commit
-
-
song authored
-
- 17 Jan, 2026 13 commits
-
-
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 更新优先级
-
shaw authored
- 支持Anthropic OAuth/SetupToken账号的5h窗口费用阈值控制 - 支持账号级别的并发会话数量限制 - 使用Redis缓存窗口费用(30秒TTL)减少数据库压力 - 费用计算基于标准费用(不含账号倍率)
-
song authored
- gateway.scheduling.fallback_selection_mode: "last_used"(默认) 或 "random" - last_used: 按最后使用时间排序(轮询效果) - random: 同优先级内随机选择
-
song authored
- gateway.max_account_switches: 账户切换最大次数,默认 10 - gateway.max_account_switches_gemini: Gemini 账户切换次数,默认 3 - gateway.antigravity_fallback_cooldown_minutes: Antigravity 429 fallback 限流时间,默认 5 分钟 - Antigravity 429 不再重试,直接标记账户限流
-
song authored
- 收到429后重试最多3次(指数退避) - 3次都失败后调用 handleUpstreamError 限流账户 - 移除无效的 URL fallback 逻辑(当前只有一个URL)
-
song authored
- fallback 时间从 1 分钟改为 5 分钟 - fallback 时直接限流整个账户而非仅限制 quota scope
-
longgexx authored
-
longgexx authored
支持为分组配置模型路由规则,可以指定特定模型模式优先使用的账号列表。 - 新增 model_routing 字段存储路由配置(JSONB格式,支持通配符匹配) - 新增 model_routing_enabled 字段控制是否启用路由 - 更新后端 handler/service/repository 支持路由配置的增删改查 - 更新前端 GroupsView 添加路由配置界面 - 添加数据库迁移脚本 040/041
-