hkfires
220ca45f74
fix(codex): only override instructions when upstream provides them
2026-01-11 15:52:21 +08:00
hkfires
70a82d80ac
fix(codex): only override instructions in responses for OpenCode UA
2026-01-11 15:19:37 +08:00
hkfires
ac626111ac
feat(codex): add OpenCode instructions based on user agent
2026-01-11 13:36:35 +08:00
extremk
5bb9c2a2bd
Add candidate count parameter to OpenAI request
2026-01-10 18:50:13 +08:00
extremk
0b5bbe9234
Add candidate count handling in OpenAI request
2026-01-10 18:49:29 +08:00
extremk
14c74e5e84
Handle 'n' parameter for candidate count in requests
...
Added handling for the 'n' parameter to set candidate count in generationConfig.
2026-01-10 18:48:33 +08:00
extremk
6448d0ee7c
Add candidate count handling in OpenAI request
2026-01-10 18:47:41 +08:00
extremk
b0c17af2cf
Enhance Gemini to OpenAI response conversion
...
Refactor response handling to support multiple candidates and improve parameter management.
2026-01-10 18:46:25 +08:00
Luis Pater
8cfe26f10c
Merge branch 'sdk' into dev
v6.6.98
2026-01-10 16:26:23 +08:00
Luis Pater
80db2dc254
Merge pull request #955 from router-for-me/api
...
feat(codex): add subscription date fields to ID token claims
2026-01-10 16:26:07 +08:00
Luis Pater
e8e3bc8616
feat(executor): add HttpRequest support across executors for better http request handling
2026-01-10 16:25:25 +08:00
Luis Pater
bc3195c8d8
refactor(logger): remove unnecessary request details limit logic
v6.6.97
2026-01-10 14:46:59 +08:00
hkfires
6494330c6b
feat(codex): add subscription date fields to ID token claims
2026-01-10 11:15:20 +08:00
Luis Pater
4d7f389b69
Fixed : #941
...
fix(translator): ensure fallback to valid originalRequestRawJSON in response handling
v6.6.96
2026-01-10 01:01:09 +08:00
Luis Pater
95f87d5669
Merge pull request #947 from pykancha/fix-memory-leak
...
Resolve memory leaks causing OOM in k8s deployment
2026-01-10 00:40:47 +08:00
Luis Pater
c83365a349
Merge pull request #938 from router-for-me/log
...
refactor(logging): clean up oauth logs and debugs
v6.6.95
2026-01-10 00:02:45 +08:00
Luis Pater
6b3604cf2b
Merge pull request #943 from ben-vargas/fix-tool-mappings
...
Fix Claude OAuth tool name mapping (proxy_)
2026-01-09 23:52:29 +08:00
Luis Pater
af6bdca14f
Fixed : #942
...
fix(executor): ignore non-SSE lines in OpenAI-compatible streams
v6.6.94
2026-01-09 23:41:50 +08:00
hemanta212
1c773c428f
fix: Remove investigation artifacts
2026-01-09 17:47:59 +05:45
Ben Vargas
e785bfcd12
Use unprefixed Claude request for translation
...
Keep the upstream payload prefixed for OAuth while passing the unprefixed request body into response translators. This avoids proxy_ leaking into OpenAI Responses echoed tool metadata while preserving the Claude OAuth workaround.
2026-01-09 00:54:35 -07:00
hemanta212
47dacce6ea
fix(server): resolve memory leaks causing OOM in k8s deployment
...
- usage/logger_plugin: cap modelStats.Details at 1000 entries per model
- cache/signature_cache: add background cleanup for expired sessions (10 min)
- management/handler: add background cleanup for stale IP rate-limit entries (1 hr)
- executor/cache_helpers: add mutex protection and TTL cleanup for codexCacheMap (15 min)
- executor/codex_executor: use thread-safe cache accessors
Add reproduction tests demonstrating leak behavior before/after fixes.
Amp-Thread-ID: https://ampcode.com/threads/T-019ba0fc-1d7b-7338-8e1d-ca0520412777
Co-authored-by: Amp <amp@ampcode.com >
2026-01-09 13:33:46 +05:45
Ben Vargas
dcac3407ab
Fix Claude OAuth tool name mapping
...
Prefix tool names with proxy_ for Claude OAuth requests and strip the prefix from streaming and non-streaming responses to restore client-facing names.
Updates the Claude executor to:
- add prefixing for tools, tool_choice, and tool_use messages when using OAuth tokens
- strip the prefix from tool_use events in SSE and non-streaming payloads
- add focused unit tests for prefix/strip helpers
2026-01-09 00:10:38 -07:00
hkfires
7004295e1d
build(docker): move stats export execution after image build
2026-01-09 11:24:00 +08:00
hkfires
ee62ef4745
refactor(logging): clean up oauth logs and debugs
2026-01-09 11:20:55 +08:00
Luis Pater
ef6bafbf7e
fix(executor): handle context cancellation and deadline errors explicitly
2026-01-09 10:48:29 +08:00
Luis Pater
ed28b71e87
refactor(amp): remove duplicate comments in response rewriter
2026-01-09 08:21:13 +08:00
Luis Pater
d47b7dc79a
refactor(response): enhance parameter handling for Codex to Claude conversion
v6.6.93
2026-01-09 05:20:19 +08:00
Luis Pater
49b9709ce5
Merge pull request #787 from sususu98/fix/antigravity-429-retry-delay-parsing
...
fix(antigravity): parse retry-after delay from 429 response body
2026-01-09 04:45:25 +08:00
Luis Pater
a2eba2cdf5
Merge pull request #763 from mvelbaum/feature/improve-oauth-use-logging
...
feat(logging): disambiguate OAuth credential selection in debug logs
2026-01-09 04:43:21 +08:00
Luis Pater
3d01b3cfe8
Merge pull request #553 from XInTheDark/fix/builtin-tools-web-search
...
fix(translator): preserve built-in tools (web_search) to Responses API
2026-01-09 04:40:13 +08:00
Luis Pater
af2efa6f7e
Merge pull request #605 from soilSpoon/feature/amp-compat
...
feature: Improves Amp client compatibility
2026-01-09 04:28:17 +08:00
Luis Pater
d73b61d367
Merge pull request #901 from uzhao/vscode-plugin
...
Vscode plugin
2026-01-08 22:22:27 +08:00
Luis Pater
59a448b645
feat(executor): centralize systemInstruction handling for Claude and Gemini-3-Pro models
v6.6.92
2026-01-08 21:05:33 +08:00
Chén Mù
4adb9eed77
Merge pull request #921 from router-for-me/atgy
...
fix(executor): update gemini model identifier to gemini-3-pro-preview
v6.6.91
2026-01-08 19:20:32 +08:00
hkfires
b6a0f7a07f
fix(executor): update gemini model identifier to gemini-3-pro-preview
...
Update the model name check in `buildRequest` to target "gemini-3-pro-preview" instead of "gemini-3-pro" when applying specific system instruction handling.
2026-01-08 19:14:52 +08:00
Luis Pater
1b2f907671
feat(executor): update system instruction handling for Claude and Gemini-3-Pro models
v6.6.90
2026-01-08 12:42:26 +08:00
Luis Pater
bda04eed8a
feat(executor): add model-specific support for "gemini-3-pro" in execution and payload handling
2026-01-08 12:27:03 +08:00
Luis Pater
67985d8226
feat(executor): enhance Antigravity payload with user role and dynamic system instructions
v6.6.89
2026-01-08 10:55:25 +08:00
Jianyang Zhao
cbcb061812
Update README_CN.md
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-07 20:07:01 -05:00
Jianyang Zhao
9fc2e1b3c8
Update README.md
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-07 20:06:55 -05:00
Jianyang Zhao
3b484aea9e
Add Claude Proxy VSCode to README_CN.md
...
Added information about Claude Proxy VSCode extension.
2026-01-07 20:03:07 -05:00
Jianyang Zhao
963a0950fa
Add Claude Proxy VSCode extension to README
...
Added Claude Proxy VSCode extension to the README.
2026-01-07 20:02:50 -05:00
Luis Pater
f4ba1ab910
fix(executor): remove unused tokenRefreshTimeout constant and pass zero timeout to HTTP client
v6.6.88
2026-01-07 18:16:49 +08:00
Luis Pater
2662f91082
feat(management): add PostOAuthCallback handler to token requester interface
v6.6.87
2026-01-07 10:47:32 +08:00
Luis Pater
c1db2c7d7c
Merge pull request #888 from router-for-me/api-call-TOKEN-fix
...
fix(management): refresh antigravity token for api-call $TOKEN$
v6.6.86
2026-01-07 01:19:24 +08:00
LTbinglingfeng
5e5d8142f9
fix(auth): error when antigravity refresh token missing during refresh
2026-01-07 01:09:50 +08:00
LTbinglingfeng
b01619b441
fix(management): refresh antigravity token for api-call $TOKEN$
2026-01-07 00:14:02 +08:00
Luis Pater
f861bd6a94
docs: add 9Router to community projects in README
v6.6.85
2026-01-06 23:15:28 +08:00
Luis Pater
6dbfdd140d
Merge pull request #871 from decolua/patch-1
...
Update README.md
2026-01-06 22:58:53 +08:00
zhiqing0205
aa8526edc0
fix(codex): use unicode title casing for plan
2026-01-06 10:24:02 +08:00