Luis Pater
3dc001a9d2
Merge branch 'main' into plus
2026-01-27 20:39:59 +08:00
Luis Pater
ee54ee8825
Merge pull request #137 from geen02/fix/idc-auth-method-case-sensitivity
...
fix: case-insensitive auth_method comparison for IDC tokens
2026-01-27 20:38:03 +08:00
hkfires
88a0f095e8
chore(registry): disable gemini 2.5 flash image preview model
2026-01-27 18:33:13 +08:00
hkfires
c65f64dce0
chore(registry): comment out rev19-uic3-1p model config
2026-01-27 18:33:13 +08:00
hkfires
d18cd217e1
feat(api): add management model definitions endpoint
2026-01-27 18:33:12 +08:00
Darley
decddb521e
fix(gemini): force type to string for enum fields to fix Antigravity Gemini API error (Relates to #1260 )
2026-01-27 11:14:08 +03:30
jyy
de6b1ada5d
fix: case-insensitive auth_method comparison for IDC tokens
...
The background refresher was skipping token files with auth_method values
like 'IdC' or 'IDC' because the comparison was case-sensitive and only
matched lowercase 'idc'.
This fix normalizes the auth_method to lowercase before comparison in:
- token_repository.go: readTokenFile() when filtering tokens to refresh
- background_refresh.go: refreshSingle() when selecting refresh method
Fixes the issue where 'IdC' != 'idc' caused tokens to be skipped entirely.
2026-01-27 13:39:38 +09:00
gogoing1024
e08f48c7a1
Merge branch 'router-for-me:main' into main
2026-01-27 09:23:36 +08:00
Luis Pater
851712a49e
Merge pull request #132 from ClubWeGo/codex/resolve-issue-#131
...
Resolve Issue #131
2026-01-26 23:36:16 +08:00
Luis Pater
9e34323a40
Merge branch 'router-for-me:main' into main
2026-01-26 23:35:07 +08:00
Luis Pater
70897247b2
feat(auth): add support for request_retry and disable_cooling overrides
...
Implement `request_retry` and `disable_cooling` metadata overrides for authentication management. Update retry and cooling logic accordingly across `Manager`, Antigravity executor, and file synthesizer. Add tests to validate new behaviors.
2026-01-26 21:59:08 +08:00
yuechenglong.5
f74a688fb9
refactor(auth): extract token filename generation into unified function
...
Add ExtractIDCIdentifier and GenerateTokenFileName functions to centralize
token filename generation logic. This improves code maintainability by:
- Extracting IDC identifier from startUrl for unique token file naming
- Supporting priority-based filename generation (email > startUrl > authMethod)
- Removing duplicate filename generation code from oauth_web.go
- Adding comprehensive unit tests for the new functions
2026-01-26 13:54:32 +08:00
Darley
e3e741d0be
Default Claude tool input schema
2026-01-26 09:15:38 +08:00
Darley
7c7c5fd967
Fix Kiro tool schema defaults
2026-01-26 08:27:53 +08:00
Luis Pater
fe8c7a62aa
Merge branch 'router-for-me:main' into main
2026-01-26 06:23:41 +08:00
Luis Pater
2af4a8dc12
refactor(runtime): implement retry logic for Antigravity executor with improved error handling and capacity management
2026-01-26 06:22:46 +08:00
Luis Pater
7b2ae7377a
chore(auth): add net/url import to auth_files.go for URL handling
2026-01-25 21:53:20 +08:00
Luis Pater
dbb433fcf8
Merge branch 'main' into plus
2026-01-25 21:51:02 +08:00
Luis Pater
2abf00b5a6
Merge pull request #126 from jellyfish-p/main
...
feat(kiro): 添加用于令牌额度查询的api-call兼容
2026-01-25 21:49:07 +08:00
hkfires
f30ffd5f5e
feat(executor): add request_id to error logs
...
Extract error.message from JSON error responses when summarizing error bodies for debug logs
2026-01-25 21:31:46 +08:00
jellyfish-p
497339f055
feat(kiro): 添加用于令牌额度查询的api-call兼容
2026-01-25 11:36:52 +08:00
hkfires
5743b78694
test(claude): update expectations for system message handling
2026-01-25 08:31:29 +08:00
Luis Pater
2e6a2b655c
Merge pull request #1132 from XYenon/fix/gemini-models-displayname-override
...
fix(gemini): preserve displayName and description in models list
2026-01-25 03:40:04 +08:00
Luis Pater
cb47ac21bf
Merge pull request #1179 from mallendeo/main
...
fix(claude): skip built-in tools in OAuth tool prefix
2026-01-25 03:31:58 +08:00
Luis Pater
a1394b4596
Merge pull request #1183 from Darley-Wey/fix/api-align
...
fix(api): enhance ClaudeModels response to align with api.anthropic.com
2026-01-25 03:30:14 +08:00
yuechenglong.5
8f780e7280
fix(kiro): always attempt token refresh on 401 before checking retry count
...
Refactor 401 error handling in both executeWithRetry and
executeStreamWithRetry to always attempt token refresh regardless of
remaining retry attempts. Previously, token refresh was only attempted
when retries remained, which could leave valid refreshed tokens unused.
Also add auth directory resolution in RefreshManager.Initialize to
properly resolve the base directory path before creating the token
repository.
2026-01-24 20:02:09 +08:00
Darley
46c6fb1e7a
fix(api): enhance ClaudeModels response to align with api.anthropic.com
2026-01-24 04:41:08 +03:30
hkfires
9f9fec5d4c
fix(auth): improve antigravity token exchange errors
2026-01-24 09:04:15 +08:00
hkfires
e95be10485
fix(auth): validate antigravity token userinfo email
2026-01-24 08:33:52 +08:00
hkfires
f3d58fa0ce
fix(auth): correct antigravity oauth redirect and expiry
2026-01-24 08:33:52 +08:00
hkfires
8c0eaa1f71
refactor(auth): export Gemini constants and use in handler
2026-01-24 08:33:52 +08:00
hkfires
405df58f72
refactor(auth): export Codex constants and slim down handler
2026-01-24 08:33:52 +08:00
hkfires
e7f13aa008
refactor(api): slim down RequestAnthropicToken to use internal/auth
2026-01-24 08:33:51 +08:00
hkfires
7cb6a9b89a
refactor(auth): export Claude OAuth constants for reuse
2026-01-24 08:33:51 +08:00
hkfires
9aa5344c29
refactor(api): slim down RequestAntigravityToken to use internal/auth
2026-01-24 08:33:51 +08:00
hkfires
c65407ab9f
refactor(auth): extract Antigravity OAuth constants to internal/auth
2026-01-24 08:33:51 +08:00
hkfires
9e59685212
refactor(auth): implement Antigravity AuthService in internal/auth
2026-01-24 08:33:51 +08:00
hkfires
4a4dfaa910
refactor(auth): replace sanitizeAntigravityFileName with antigravity.CredentialFileName
2026-01-24 08:33:51 +08:00
Luis Pater
0d6ecb0191
Fixed : #1077
...
refactor(translator): improve tools handling by separating functionDeclarations and googleSearch nodes
2026-01-24 05:51:11 +08:00
Mauricio Allende
f16461bfe7
fix(claude): skip built-in tools in OAuth tool prefix
2026-01-23 21:29:39 +00:00
Luis Pater
9fccc86b71
fix(executor): include requested model in payload configuration
2026-01-24 05:06:02 +08:00
Luis Pater
b9ff916494
Merge branch 'main' into plus
2026-01-24 05:02:32 +08:00
Luis Pater
873d41582f
Merge pull request #1125 from NightHammer1000/dev
...
Filter out Top_P when Temp is set on Claude
2026-01-24 02:03:33 +08:00
Luis Pater
6fb7d85558
Merge pull request #1137 from augustVino/fix/remove_empty_systemmsg
...
fix(translator): ensure system message is only added if it contains c…
2026-01-24 02:02:18 +08:00
hkfires
d5e3e32d58
fix(auth): normalize plan type filenames to lowercase
2026-01-23 20:13:09 +08:00
hkfires
ecc850bfb7
feat(executor): apply payload rules using requested model
2026-01-23 16:38:41 +08:00
Chén Mù
19b4ef33e0
Merge pull request #1102 from aldinokemal/main
...
feat(management): add PATCH endpoint to enable/disable auth files
2026-01-23 09:05:24 +08:00
hkfires
7ca045d8b9
fix(executor): adjust model-specific request payload
2026-01-22 20:28:08 +08:00
Cyrus
25b9df478c
fix(auth): normalize authMethod to lowercase on Kiro token import
...
- Add strings.ToLower() normalization in LoadKiroIDEToken()
- Add same normalization in LoadKiroTokenFromPath()
- Fixes issue where Kiro IDE exports "IdC" but code expects "idc"
2026-01-22 19:54:48 +08:00
hkfires
abfca6aab2
refactor(util): reorder gemini schema cleaner helpers
2026-01-22 18:38:48 +08:00