hkfires
08ab6a7d77
feat(gemini): add per-key model alias support for Gemini provider
2025-12-30 13:27:57 +08:00
Luis Pater
5c95129884
Merge branch 'router-for-me:main' into main
2025-12-30 11:48:29 +08:00
hkfires
d443c86620
refactor(config): rename model mapping fields from from/to to name/alias
2025-12-30 11:07:59 +08:00
hkfires
7be3f1c36c
refactor(config): rename model-name-mappings to oauth-model-mappings
2025-12-30 11:07:58 +08:00
Luis Pater
50e6d845f4
feat(cliproxy): introduce global model name mappings for improved aliasing and routing
2025-12-30 08:13:06 +08:00
Luis Pater
cf369d4684
Merge branch 'router-for-me:main' into main
2025-12-29 22:41:44 +08:00
Chén Mù
f39a460487
Merge pull request #761 from router-for-me/log
...
fix(logging): improve request/response capture
2025-12-28 16:13:10 -08:00
Luis Pater
ee171bc563
feat(api): add ManagementTokenRequester interface for management token request endpoints
2025-12-29 02:42:29 +08:00
hkfires
a95428f204
fix(handlers): preserve upstream response logs before duplicate detection
2025-12-28 22:35:36 +08:00
Michael Velbaum
cb3bdffb43
refactor(logging): streamline auth selection debug messages
...
Reduce duplicate Debugf calls by appending proxy info via an optional suffix and keep the debug-level guard inside the helper.
2025-12-28 16:10:11 +02:00
Michael Velbaum
48f19aab51
refactor(logging): pass request entry into auth selection log
...
Avoid re-creating the request-scoped log entry in the helper and use a switch for account type dispatch.
2025-12-28 15:51:11 +02:00
Michael Velbaum
48f6d7abdf
refactor(logging): dedupe auth selection debug logs
...
Extract repeated debug logging for selected auth credentials into a helper so execute, count, and stream paths stay consistent.
2025-12-28 15:42:35 +02:00
Michael Velbaum
79fbcb3ec4
fix(logging): quote OAuth account field
...
Use strconv.Quote when embedding the OAuth account in debug logs so unexpected characters (e.g. quotes) can't break key=value parsing.
2025-12-28 15:32:54 +02:00
Michael Velbaum
0e4148b229
feat(logging): disambiguate OAuth credential selection in debug logs
...
When multiple OAuth providers share an account email, the existing "Use OAuth" debug lines are ambiguous and hard to correlate with management usage stats. Include provider, auth file, and auth index in the selection log, and only compute these fields when debug logging is enabled to avoid impacting normal request performance.
Before:
[debug] Use OAuth user@example.com for model gemini-3-flash-preview
[debug] Use OAuth user@example.com (project-1234) for model gemini-3-flash-preview
After:
[debug] Use OAuth provider=antigravity auth_file=antigravity-user_example_com.json auth_index=1a2b3c4d5e6f7788 account="user@example.com " for model gemini-3-flash-preview
[debug] Use OAuth provider=gemini-cli auth_file=gemini-user@example.com-project-1234.json auth_index=99aabbccddeeff00 account="user@example.com (project-1234)" for model gemini-3-flash-preview
2025-12-28 15:22:36 +02:00
hkfires
3ca5fb1046
fix(handlers): match raw error text before JSON body for duplicate detection
2025-12-28 19:35:36 +08:00
hkfires
a091d12f4e
fix(logging): improve request/response capture
2025-12-28 19:04:31 +08:00
Luis Pater
0f51e73baa
Merge branch 'router-for-me:main' into main
2025-12-28 03:07:58 +08:00
Luis Pater
3a436e116a
feat(cliproxy): implement model aliasing and hashing for Codex configurations, enhance request routing logic, and normalize Codex model entries
2025-12-28 03:06:51 +08:00
Luis Pater
d473c952fb
Merge branch 'main' into plus
2025-12-28 00:56:04 +08:00
Luis Pater
d35152bbef
Merge branch 'router-for-me:main' into main
2025-12-27 22:03:50 +08:00
hkfires
09455f9e85
fix(config): make streaming keepalive and retries ints
2025-12-27 20:56:47 +08:00
hkfires
8be06255f7
fix(auth): make provider rotation atomic
2025-12-27 12:56:48 +08:00
Luis Pater
05f249d77f
Merge branch 'main' into plus
2025-12-26 12:14:35 +08:00
Luis Pater
3ce0d76aa4
feat(usage): add import/export functionality for usage statistics and enhance deduplication logic
2025-12-26 11:49:51 +08:00
Luis Pater
9fe6a215e6
Merge branch 'router-for-me:main' into main
2025-12-26 05:10:19 +08:00
Thai Nguyen Hung
54f71aa273
fix(test): remove extra argument from ExecuteStreamWithAuthManager call
2025-12-25 21:55:35 +07:00
Luis Pater
cdb9c2e6e8
Merge remote-tracking branch 'origin/main' into router-for-me/main
2025-12-24 20:18:53 +08:00
Luis Pater
d3f4783a24
Merge pull request #57 from PancakeZik/my-idc-changes
...
feat: add AWS Identity Center (IDC) authentication support
2025-12-24 17:20:01 +08:00
hkfires
26fbb77901
refactor(sdk/auth): rename manager.go to conductor.go
2025-12-24 15:21:03 +08:00
Luis Pater
8fee16aecd
Merge PR #59 : v6.6.50 (resolve conflicts)
2025-12-24 11:06:10 +08:00
hkfires
e76ba0ede9
feat(logging): implement request ID tracking and propagation
2025-12-24 08:32:17 +08:00
Luis Pater
e592a57458
Merge branch 'router-for-me:main' into main
2025-12-24 04:25:06 +08:00
Luis Pater
f413feec61
refactor(handlers): streamline error and data channel handling in streaming logic
...
Improved consistency across OpenAI, Claude, and Gemini handlers by replacing initial `select` statement with a `for` loop for better readability and error-handling robustness.
2025-12-24 04:07:24 +08:00
Luis Pater
2e538e3486
Merge pull request #661 from jroth1111/fix/streaming-bootstrap-forwarder
...
fix: improve streaming bootstrap and forwarding
2025-12-24 03:51:40 +08:00
Joao
7fd98f3556
feat: add IDC auth support with Kiro IDE headers
2025-12-23 08:18:10 +00:00
Luis Pater
12370ee84e
Merge branch 'router-for-me:main' into main
2025-12-22 22:53:29 +08:00
Luis Pater
b84ccc6e7a
feat: add unit tests for routing strategies and implement dynamic selector updates
...
Added comprehensive tests for `FillFirstSelector` and `RoundRobinSelector` to ensure proper behavior, including deterministic, cyclical, and concurrent scenarios. Introduced dynamic routing strategy updates in `service.go`, normalizing strategies and seamlessly switching between `fill-first` and `round-robin`. Updated `Manager` to support selector changes via the new `SetSelector` method.
2025-12-22 22:52:23 +08:00
gwizz
5bf89dd757
fix: keep streaming defaults legacy-safe
2025-12-23 00:53:18 +11:00
gwizz
4442574e53
fix: stop streaming loop on context cancel
2025-12-23 00:37:55 +11:00
gwizz
c020fa60d0
fix: keep round-robin as default routing
2025-12-22 23:39:41 +11:00
gwizz
b078be4613
feat: add fill-first routing strategy
2025-12-22 23:38:10 +11:00
gwizz
71a6dffbb6
fix: improve streaming bootstrap and forwarding
2025-12-22 23:34:23 +11:00
Luis Pater
5f65dd5bb4
Merge branch 'router-for-me:main' into main
2025-12-22 16:58:26 +08:00
moxi
830fd8eac2
Fix responses-format handling for chat completions
2025-12-22 13:54:02 +08:00
Luis Pater
e755e567ea
Merge branch 'router-for-me:main' into main
2025-12-21 19:54:13 +08:00
Supra4E8C
cd0c94f48a
fix(sdk/auth): prevent OAuth manual prompt goroutine leak,Use timer-based manual prompt per provider and remove oauth_callback helper.
2025-12-21 07:06:28 +08:00
Supra4E8C
93414f1baa
feat (auth): CLI OAuth supports pasting callback URLs to complete login
...
- Added callback URL resolution and terminal prompt logic
- Codex/Claude/iFlow/Antigravity/Gemini login supports callback URL or local callback completion
- Update Gemini login option signature and manager call
- CLI default prompt function is compatible with null input to continue waiting
2025-12-20 18:25:55 +08:00
Luis Pater
8fac6b147a
Merge branch 'router-for-me:main' into main
2025-12-20 17:13:30 +08:00
hkfires
c84ff42bcd
fix(amp): add /docs routes to proxy
2025-12-20 10:15:25 +08:00
Luis Pater
40d78908ed
Merge branch 'router-for-me:main' into main
2025-12-20 04:50:39 +08:00