hkfires
e0ffec885c
fix(aistudio): remove levels from model definitions
2026-01-15 16:06:46 +08:00
hkfires
ff4ff6bc2f
feat(thinking): support zero as a valid thinking budget for capable models
2026-01-15 15:41:10 +08:00
hkfires
5c40a2db21
refactor(thinking): simplify ModeNone and budget validation logic
2026-01-15 14:03:08 +08:00
hkfires
ee2976cca0
refactor(thinking): improve logging for user-defined models
2026-01-15 13:06:41 +08:00
hkfires
8bc6df329f
fix(auth): apply API key model mapping to request model
2026-01-15 13:06:41 +08:00
hkfires
bcd4d9595f
fix(thinking): refine ModeNone handling based on provider capabilities
2026-01-15 13:06:41 +08:00
hkfires
5a77b7728e
refactor(thinking): improve budget clamping and logging with provider/model context
2026-01-15 13:06:41 +08:00
hkfires
1fbbba6f59
feat(logging): order log fields for improved readability
2026-01-15 13:06:41 +08:00
hkfires
847be0e99d
fix(auth): use base model name for auth matching by stripping suffix
2026-01-15 13:06:41 +08:00
hkfires
f6a2d072e6
refactor(thinking): refine configuration logging
2026-01-15 13:06:41 +08:00
hkfires
ed8b0f25ee
fix(thinking): use LookupModelInfo for model data
2026-01-15 13:06:41 +08:00
hkfires
6e4a602c60
fix(thinking): map reasoning_effort to thinkingConfig
2026-01-15 13:06:40 +08:00
hkfires
2262479365
refactor(thinking): remove legacy utilities and simplify model mapping
2026-01-15 13:06:40 +08:00
hkfires
33d66959e9
test(thinking): remove legacy unit and integration tests
2026-01-15 13:06:40 +08:00
hkfires
7f1b2b3f6e
fix(thinking): improve model lookup and validation
2026-01-15 13:06:40 +08:00
hkfires
40ee065eff
fix(thinking): use static lookup to avoid alias issues
2026-01-15 13:06:40 +08:00
hkfires
a75fb6af90
refactor(antigravity): remove hardcoded model aliases
2026-01-15 13:06:39 +08:00
hkfires
72f2125668
fix(executor): properly handle thinking application errors
2026-01-15 13:06:39 +08:00
hkfires
e8f5888d8e
fix(thinking): fix auth matching for thinking suffix and json field conflicts
2026-01-15 13:06:39 +08:00
hkfires
0b06d637e7
refactor: improve thinking logic
2026-01-15 13:06:39 +08:00
Luis Pater
5a7e5bd870
feat(auth): add Antigravity onboarding with tier selection
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- Updated `ideType` to `ANTIGRAVITY` in request payload.
- Introduced tier-selection logic to determine default tier for onboarding.
- Added `antigravityOnboardUser` function for project ID retrieval via polling.
- Enhanced error handling and response decoding for onboarding flow.
v6.6.107
2026-01-15 11:43:02 +08:00
Luis Pater
6f8a8f8136
feat(selector): add priority support for auth selection
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
v6.6.106
2026-01-15 07:08:24 +08:00
Luis Pater
b163f8ed9e
Fixed : #1004
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
feat(translator): add function name to response output item serialization
- Included `item.name` in the serialized response output to enhance output item handling.
v6.6.105
2026-01-15 03:27:00 +08:00
Luis Pater
a1da6ff5ac
Fixed : #499 #985
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
feat(oauth): add support for customizable OAuth callback ports
- Introduced `oauth-callback-port` flag to override default callback ports.
- Updated SDK and login flows for `iflow`, `gemini`, `antigravity`, `codex`, `claude`, and `openai` to respect configurable callback ports.
- Refactored internal OAuth servers to dynamically assign ports based on the provided options.
- Revised tests and documentation to reflect the new flag and behavior.
v6.6.104
2026-01-14 04:29:15 +08:00
Luis Pater
43652d044c
refactor(config): replace nonstream-keepalive with nonstream-keepalive-interval
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- Updated `SDKConfig` to use `nonstream-keepalive-interval` (seconds) instead of the boolean `nonstream-keepalive`.
- Refactored handlers and logic to incorporate the new interval-based configuration.
- Updated config diff, tests, and example YAML to reflect the changes.
v6.6.103
2026-01-13 03:14:38 +08:00
Luis Pater
b1b379ea18
feat(api): add non-streaming keep-alive support for idle timeout prevention
...
- Introduced `StartNonStreamingKeepAlive` to emit periodic blank lines during non-streaming responses.
- Added `nonstream-keepalive` configuration option in `SDKConfig`.
- Updated handlers to utilize `StartNonStreamingKeepAlive` and ensure proper cleanup.
- Extended config diff and tests to include `nonstream-keepalive` changes.
2026-01-13 02:36:07 +08:00
hkfires
21ac161b21
fix(test): implement missing HttpRequest method in stream bootstrap mock
2026-01-12 16:33:43 +08:00
Luis Pater
94e979865e
Fixed : #897
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
refactor(executor): remove `prompt_cache_retention` from request payloads
v6.6.102
2026-01-12 10:46:47 +08:00
Luis Pater
6c324f2c8b
Fixed : #936
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
feat(cliproxy): support multiple aliases for OAuth model mappings
- Updated mapping logic to allow multiple aliases per upstream model name.
- Adjusted `SanitizeOAuthModelMappings` to ensure aliases remain unique within channels.
- Added test cases to validate multi-alias scenarios.
- Updated example config to clarify multi-alias support.
v6.6.101
2026-01-12 10:40:34 +08:00
Luis Pater
543dfd67e0
refactor(cache): remove max entries logic and extend signature TTL to 3 hours
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
v6.6.100
2026-01-12 00:20:44 +08:00
Luis Pater
28bd1323a2
Merge pull request #971 from router-for-me/codex
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
feat(codex): add OpenCode instructions based on user agent
v6.6.99
2026-01-11 16:01:13 +08:00
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
Luis Pater
8cfe26f10c
Merge branch 'sdk' into dev
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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