maplelove
4040b1e766
Merge remote-tracking branch 'upstream/dev' into dev
...
# Conflicts:
# internal/runtime/executor/antigravity_executor.go
2026-02-27 10:29:50 +08:00
Luis Pater
0da34d3c2d
Merge pull request #1668 from lyd123qw2008/fix/codex-usage-limit-retry-after
...
fix(codex): honor usage_limit_reached resets_at for retry_after
2026-02-27 06:01:44 +08:00
Luis Pater
74bf7eda8f
Merge pull request #1686 from lyd123qw2008/fix/auth-refresh-concurrency-limit
...
fix(auth): limit auto-refresh concurrency to prevent refresh storms
2026-02-27 05:59:20 +08:00
Luis Pater
8c6c90da74
fix(registry): clean up outdated model definitions in static data
2026-02-26 23:12:40 +08:00
Luis Pater
24bcfd9c03
Merge pull request #1699 from 123hi123/fix/antigravity-primary-model-fallback
...
fix(antigravity): keep primary model list and backfill empty auths
2026-02-26 04:28:29 +08:00
Luis Pater
816fb4c5da
Merge pull request #1682 from sususu98/fix/tool-result-image-parts
...
fix(antigravity): place tool_result images in functionResponse.parts and unify mimeType
2026-02-25 23:14:35 +08:00
Luis Pater
d24ea4ce2a
Merge pull request #1664 from ciberponk/pr/responses-compaction-compat
...
feat: add codex responses compatibility for compaction payloads
2026-02-25 01:21:59 +08:00
Luis Pater
2c30c981ae
Merge pull request #1687 from lyd123qw2008/fix/codex-refresh-token-reused-no-retry
...
fix(codex): stop retrying refresh_token_reused errors
2026-02-25 01:19:30 +08:00
Luis Pater
aa1da8a858
Merge pull request #1685 from lyd123qw2008/fix/auth-auto-refresh-interval
...
fix(auth): respect configured auto-refresh interval
2026-02-25 01:13:47 +08:00
Luis Pater
f1e9a787d7
Merge pull request #1676 from piexian/feat/qwen-quota-handling-clean
...
feat(qwen): add rate limiting and quota error handling
2026-02-25 01:07:55 +08:00
Luis Pater
c66cb0afd2
Merge pull request #1683 from dusty-du/codex/device-login-flow
...
Add additive Codex device-code login flow
2026-02-25 00:50:48 +08:00
Luis Pater
fb48eee973
Merge pull request #1680 from canxin121/fix/responses-stream-error-chunks
...
fix(responses): emit schema-valid SSE chunks
2026-02-25 00:49:06 +08:00
Luis Pater
bb44e5ec44
Merge pull request #1701 from router-for-me/openai
...
Revert "Merge pull request #1627 from thebtf/fix/reasoning-effort-clamping"
2026-02-25 00:46:13 +08:00
comalot
514ae341c8
fix(antigravity): deep copy cached model metadata
2026-02-24 20:14:01 +08:00
hkfires
0659ffab75
Revert "Merge pull request #1627 from thebtf/fix/reasoning-effort-clamping"
2026-02-24 19:47:53 +08:00
comalot
8ce07f38dd
fix(antigravity): keep primary model list and backfill empty auths
2026-02-24 16:16:44 +08:00
Luis Pater
7cb398d167
Merge pull request #1663 from rensumo/main
...
feat: implement credential-based round-robin for gemini-cli
2026-02-24 06:02:50 +08:00
Luis Pater
c3e12c5e58
Merge pull request #1654 from alexey-yanchenko/feature/pass-file-inputs
...
Pass file input from /chat/completions and /responses to codex and claude
2026-02-24 05:53:11 +08:00
Luis Pater
1825fc7503
Merge pull request #1643 from alexey-yanchenko/fix/gemini-prompt-tokens
...
Fix usage convertation from gemini response to openai format
2026-02-24 05:46:13 +08:00
Luis Pater
48732ba05e
Merge pull request #1527 from HEUDavid/feat/auth-hook
...
feat(auth): add post-auth hook mechanism
2026-02-24 05:33:13 +08:00
canxin121
acf483c9e6
fix(responses): reject invalid SSE data JSON
...
Guard the openai-response streaming path against truncated/invalid SSE data payloads by validating data: JSON before forwarding; surface a 502 terminal error instead of letting clients crash with JSON parse errors.
2026-02-24 01:42:54 +08:00
lyd123qw2008
3b3e0d1141
test(codex): log non-retryable refresh error and cover single-attempt behavior
2026-02-23 22:41:33 +08:00
lyd123qw2008
7acd428507
fix(codex): stop retrying refresh_token_reused errors
2026-02-23 22:31:30 +08:00
lyd123qw2008
0aaf177640
fix(auth): limit auto-refresh concurrency to prevent refresh storms
2026-02-23 22:28:41 +08:00
lyd123qw2008
450d1227bd
fix(auth): respect configured auto-refresh interval
2026-02-23 22:07:50 +08:00
test
492b9c46f0
Add additive Codex device-code login flow
2026-02-23 06:30:04 -05:00
sususu98
4e26182d14
fix(antigravity): place tool_result images in functionResponse.parts and unify mimeType
...
Move base64 image data from Claude tool_result into functionResponse.parts
as inlineData instead of outer sibling parts, preventing context bloat.
Unify all inlineData field naming to camelCase mimeType across Claude,
OpenAI, and Gemini translators. Add comprehensive edge case tests and
Gemini-side regression test for functionResponse.parts preservation.
2026-02-23 13:38:21 +08:00
maplelove
8f97a5f77c
feat(registry): expose input modalities, token limits, and generation methods for Antigravity models
2026-02-23 13:33:51 +08:00
canxin121
eb7571936c
revert: translator changes (path guard)
...
CI blocks PRs that modify internal/translator. Revert translator edits and keep only the /v1/responses streaming error-chunk fix; file an issue for translator conformance work.
2026-02-23 13:30:43 +08:00
canxin121
5382764d8a
fix(responses): include model and usage in translated streams
...
Ensure response.created and response.completed chunks produced by the OpenAI/Gemini/Claude translators always include required fields (response.model and response.usage) so clients validating Responses SSE do not fail schema validation.
2026-02-23 13:22:06 +08:00
canxin121
49c8ec69d0
fix(openai): emit valid responses stream error chunks
...
When /v1/responses streaming fails after headers are sent, we now emit a type=error chunk instead of an HTTP-style {error:{...}} payload, preventing AI SDK chunk validation errors.
2026-02-23 12:59:50 +08:00
piexian
3b421c8181
feat(qwen): add rate limiting and quota error handling
...
- Add 60 requests/minute rate limiting per credential using sliding window
- Detect insufficient_quota errors and set cooldown until next day (Beijing time)
- Map quota errors (HTTP 403/429) to 429 with retryAfter for conductor integration
- Cache Beijing timezone at package level to avoid repeated syscalls
- Add redactAuthID function to protect credentials in logs
- Extract wrapQwenError helper to consolidate error handling
2026-02-23 00:38:46 +08:00
Luis Pater
713388dd7b
Fixed : #1675
...
fix(gemini): add model definitions for Gemini 3.1 Pro High and Image
2026-02-23 00:12:57 +08:00
maplelove
2a4d3e60f3
Merge remote-tracking branch 'upstream/dev' into dev
2026-02-23 00:01:47 +08:00
maplelove
8b5af2ab84
fix(executor): match real Antigravity OAuth UA, remove redundant header scrubbing on new requests
2026-02-22 23:20:12 +08:00
Luis Pater
e6c7af0fa9
Merge pull request #1522 from soilSpoon/feature/canceled
...
feature(proxy): Adds special handling for client cancellations in proxy error handler
2026-02-22 22:02:59 +08:00
Luis Pater
d210be06c2
fix(gemini): update min Thinking value and add Gemini 3.1 Pro Preview model definition
2026-02-22 21:51:32 +08:00
maplelove
d887716ebd
refactor(executor): switch HttpRequest to whitelist-based header filtering
2026-02-22 21:00:12 +08:00
maplelove
5dc1848466
feat(scrub): add comprehensive browser fingerprint and client identity header scrubbing
2026-02-22 20:51:00 +08:00
maplelove
9491517b26
fix(executor): use singleton transport to prevent OOM from connection pool leaks
2026-02-22 20:17:30 +08:00
maplelove
9370b5bd04
fix(executor): completely scrub all proxy tracing headers in executor
2026-02-22 19:43:10 +08:00
maplelove
abb51a0d93
fix(executor): correctly disable http2 ALPN in Antigravity client to resolve connection reset errors
2026-02-22 19:23:48 +08:00
maplelove
c8d809131b
fix(executor): improve antigravity reverse proxy emulation
...
- force http/1.1 instead of http/2
- explicit connection close
- strip proxy headers X-Forwarded-For and X-Real-IP
- add project id to fetch models payload
2026-02-22 18:41:58 +08:00
maplelove
dd71c73a9f
fix: align gemini-cli upstream communication headers
...
Removed legacy Client-Metadata and explicit API-Client headers. Dynamically generating accurate User-Agent strings matching the official cli.
2026-02-22 17:07:17 +08:00
fan
afc8a0f9be
refactor: simplify context_management compatibility handling
2026-02-21 22:20:48 +08:00
Luis Pater
d6ec33e8e1
Merge pull request #1662 from matchch/contribute/cache-user-id
...
feat: add cache-user-id toggle for Claude cloaking
2026-02-21 20:51:30 +08:00
Luis Pater
081cfe806e
fix(gemini): correct Created timestamps for Gemini 3.1 Pro Preview model definitions
2026-02-21 20:47:47 +08:00
hkfires
c1c62a6c04
feat(gemini): add Gemini 3.1 Pro Preview model definitions
2026-02-21 20:42:29 +08:00
lyd123qw2008
a99522224f
refactor(codex): make retry-after parsing deterministic for tests
2026-02-21 14:13:38 +08:00
lyd123qw2008
f5d46b9ca2
fix(codex): honor usage_limit_reached resets_at for retry_after
2026-02-21 13:50:23 +08:00