erio
|
14c6c9321a
|
refactor: remove unused IsAntigravityModelSupported function and its tests
|
2026-02-07 14:42:28 +08:00 |
|
erio
|
386126b1b2
|
test(antigravity): add missing unit tests for upstream and custom model_mapping
- Add GetAccessToken upstream branch tests (success/failure/empty/nil)
- Add mapAntigravityModel wildcard-target-equals-request edge case tests
- Add upstream account smart retry test case
- Add GeminiMessagesCompatService custom model_mapping and empty model tests
|
2026-02-07 14:39:25 +08:00 |
|
erio
|
5e98445b22
|
feat(antigravity): comprehensive enhancements - model mapping, rate limiting, scheduling & ops
Key changes:
- Upgrade model mapping: Opus 4.5 → Opus 4.6-thinking with precise matching
- Unified rate limiting: scope-level → model-level with Redis snapshot sync
- Load-balanced scheduling by call count with smart retry mechanism
- Force cache billing support
- Model identity injection in prompts with leak prevention
- Thinking mode auto-handling (max_tokens/budget_tokens fix)
- Frontend: whitelist mode toggle, model mapping validation, status indicators
- Gemini session fallback with Redis Trie O(L) matching
- Ops: enhanced concurrency monitoring, account availability, retry logic
- Migration scripts: 049-051 for model mapping unification
|
2026-02-07 12:31:10 +08:00 |
|
liuxiongfeng
|
7d256879c5
|
feat(antigravity): map all gemini-2.5 to gemini-3 series
Antigravity 上游不再支持 gemini-2.5 系列,统一映射到 gemini-3:
- gemini-2.5-flash → gemini-3-flash
- gemini-2.5-flash-lite → gemini-3-flash
- gemini-2.5-flash-thinking → gemini-3-flash
- gemini-2.5-flash-image → gemini-3-pro-image
- gemini-2.5-pro → gemini-3-pro-high
- gemini-2.5-pro-preview → gemini-3-pro-high
- gemini-2.5-pro-exp → gemini-3-pro-high
|
2026-02-03 14:23:47 +08:00 |
|
liuxiongfeng
|
f9512fda58
|
test: update gemini-2.5-pro mapping test case
Update test expectation to reflect new mapping:
gemini-2.5-pro -> gemini-3-pro-high
|
2026-02-03 14:23:47 +08:00 |
|
IanShaw027
|
28e46e0e7c
|
fix(gemini): 更新 Gemini 模型列表配置
- 移除已弃用的 1.5 系列模型
- 调整模型优先级顺序(2.0 Flash > 2.5 Flash > 2.5 Pro > 3.0 Preview)
- 同步前后端模型配置
- 更新相关测试用例和默认模型选择逻辑
|
2026-01-16 23:47:42 +08:00 |
|
song
|
8a50ca592a
|
test: 更新 haiku 模型映射测试用例
|
2026-01-02 17:50:39 +08:00 |
|
song
|
edee46e47f
|
test: 更新 model mapping 测试用例期望值
|
2026-01-01 02:07:41 +08:00 |
|
song
|
b0389ca4d2
|
feat: 实现 Antigravity Claude → Gemini 协议转换,haiku 映射到 gemini-3-flash
|
2025-12-28 18:41:55 +08:00 |
|
song
|
1d085d982b
|
feat: 完善 Antigravity 多平台网关支持,修复 Gemini handler 分流逻辑
|
2025-12-28 17:48:52 +08:00 |
|