Luis Pater and GitHub
dbb433fcf8
Merge branch 'main' into plus
2026-01-25 21:51:02 +08:00
Luis Pater and GitHub
2abf00b5a6
Merge pull request #126 from jellyfish-p/main
...
feat(kiro): 添加用于令牌额度查询的api-call兼容
2026-01-25 21:49:07 +08:00
Luis Pater and GitHub
275839e5c9
Merge pull request #124 from gogoing1024/main
...
fix(kiro): always attempt token refresh on 401 before checking retry …
2026-01-25 21:48:03 +08:00
Luis Pater
bc9a24d705
docs(readme): reposition CPA-XXX Panel section for improved visibility
2026-01-25 18:58:32 +08:00
Luis Pater and GitHub
2c879f13ef
Merge pull request #1216 from ferretgeek/add-cpa-xxx-panel
...
docs: 新增 CPA-XXX 社区面板项目
2026-01-25 18:57:32 +08:00
Luis Pater and GitHub
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 and GitHub
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 and GitHub
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
Luis Pater and GitHub
9e97948f03
Merge pull request #1185 from router-for-me/auth
...
Refactor authentication handling for Antigravity, Claude, Codex, and Gemini
2026-01-25 03:28:53 +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
Luis Pater
9fccc86b71
fix(executor): include requested model in payload configuration
2026-01-24 05:06:02 +08:00
Luis Pater
74683560a7
chore(deps): update go.mod to add golang.org/x/sync and golang.org/x/text
2026-01-24 05:04:09 +08:00
Luis Pater and GitHub
1e4f9dd438
Merge pull request #123 from router-for-me/plus
...
v6.7.20
2026-01-24 05:02:41 +08:00
Luis Pater and GitHub
b9ff916494
Merge branch 'main' into plus
2026-01-24 05:02:32 +08:00
Luis Pater and GitHub
9bf4a0cad2
Merge pull request #120 from Xm798/fix/kiro-auth-method-case
...
fix(auth): normalize Kiro authMethod to lowercase on token import
2026-01-24 04:58:50 +08:00
Luis Pater
c32e2a8196
fix(auth): handle context cancellation in executor methods
2026-01-24 04:56:55 +08:00
Luis Pater and GitHub
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 and GitHub
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
Luis Pater and GitHub
15ae83a15b
Merge pull request #1169 from router-for-me/payload
...
feat(executor): apply payload rules using requested model
2026-01-23 18:41:31 +08:00
Luis Pater and GitHub
51611c25d7
Merge branch 'router-for-me:main' into main
2026-01-21 22:12:28 +08:00
Luis Pater and GitHub
eb1bbaa63b
Merge pull request #119 from linlang781/main
...
支持Kiro sso idc
2026-01-21 22:11:58 +08:00
Luis Pater
d9c6317c84
refactor(cache, translator): refine signature caching logic and tests, replace session-based logic with model group handling
2026-01-21 18:30:05 +08:00
Luis Pater
ef4508dbc8
refactor(cache, translator): remove session ID from signature caching and clean up logic
2026-01-21 13:37:10 +08:00
Luis Pater
f775e46fe2
refactor(translator): remove session ID logic from signature caching and associated tests
2026-01-21 12:45:07 +08:00
Luis Pater
65ad5c0c9d
refactor(cache): simplify signature caching by removing sessionID parameter
2026-01-21 12:38:05 +08:00
Luis Pater
88bf4e77ec
fix(translator): update HasValidSignature to require modelName parameter for improved validation
2026-01-21 11:31:37 +08:00
Luis Pater
a4f8015caa
test(logging): add unit tests for GinLogrusRecovery middleware panic handling
2026-01-21 10:57:27 +08:00
Luis Pater and GitHub
ffd129909e
Merge pull request #1130 from router-for-me/agty
...
fix(executor): only strip maxOutputTokens for non-claude models
2026-01-21 10:50:39 +08:00
Luis Pater
2ce3553612
feat(cache): handle gemini family in signature cache with fallback validator logic
2026-01-21 10:11:21 +08:00
Luis Pater
2e14f787d4
feat(translator): enhance ConvertGeminiRequestToAntigravity with model name and refine reasoning block handling
2026-01-21 08:31:23 +08:00
Luis Pater
523b41ccd2
test(responses): add comprehensive tests for SSE event ordering and response transformations
2026-01-21 07:08:59 +08:00
Luis Pater and GitHub
c6fa1d0e67
Merge pull request #1117 from router-for-me/cache
...
fix(translator): enhance signature cache clearing logic and update test cases with model name
2026-01-20 23:18:48 +08:00
Luis Pater and GitHub
ac56e1e88b
Merge pull request #1116 from bexcodex/fix/antigravity
...
Fix antigravity malformed_function_call
2026-01-20 22:40:00 +08:00
Luis Pater
e49a1c07bf
chore(translator): update cache functions to include model name parameter in tests
2026-01-20 18:36:51 +08:00
Luis Pater
5364a2471d
fix(endpoint_compat): update GetModelInfo to include missing parameter for improved registry compatibility
2026-01-20 13:56:57 +08:00
Luis Pater and GitHub
fef4fdb0eb
Merge pull request #117 from router-for-me/plus
...
v6.7.15
2026-01-20 13:50:53 +08:00
Luis Pater and GitHub
c2bf600a39
Merge branch 'main' into plus
2026-01-20 13:50:41 +08:00
Luis Pater
8d9f4edf9b
feat(translator): unify model group references by introducing GetModelGroup helper function
2026-01-20 13:45:25 +08:00
Luis Pater
020e61d0da
feat(translator): improve signature handling by associating with model name in cache functions
2026-01-20 13:31:36 +08:00
Luis Pater
6184c43319
Fixed : #1109
...
feat(translator): enhance session ID derivation with user_id parsing in Claude
2026-01-20 12:35:40 +08:00
Luis Pater
2cbe4a790c
chore(translator): remove unnecessary whitespace in gemini_openai_response code
2026-01-20 11:47:33 +08:00
Luis Pater
68b3565d7b
Merge branch 'main' into dev (PR #961 )
2026-01-20 11:42:22 +08:00
Luis Pater
3f385a8572
feat(auth): add "antigravity" provider to ignored access_token fields in filestore
2026-01-20 11:38:31 +08:00
Luis Pater
9823dc35e1
feat(auth): hash account ID for improved uniqueness in credential filenames
2026-01-20 11:37:52 +08:00
Luis Pater
059bfee91b
feat(auth): add hashed account ID to credential filenames for team plans
2026-01-20 11:36:29 +08:00
Luis Pater
7beaf0eaa2
Merge pull request #869
2026-01-20 11:16:53 +08:00
Luis Pater and GitHub
1fef90ff58
Merge pull request #877 from zhiqing0205/main
...
feat(codex): include plan type in auth filename
2026-01-20 11:11:25 +08:00
Luis Pater
8447fd27a0
fix(login): remove emojis from interactive prompt messages
2026-01-20 11:09:56 +08:00
Luis Pater
7831cba9f6
refactor(claude): remove redundant system instructions check in Claude executor
2026-01-20 11:02:52 +08:00
Luis Pater
e02b2d58d5
Merge pull request #868
2026-01-20 10:57:24 +08:00
Luis Pater and GitHub
28726632a9
Merge pull request #861 from umairimtiaz9/fix/gemini-cli-backend-project-id
...
fix(auth): use backend project ID for free tier Gemini CLI OAuth users
2026-01-20 10:32:17 +08:00
Luis Pater and GitHub
3b26129c82
Merge pull request #1108 from router-for-me/modelinfo
...
feat(registry): support provider-specific model info lookup
2026-01-20 10:18:42 +08:00
Luis Pater
d4bb4e6624
refactor(antigravity): remove unused client signature handling in thinking objects
2026-01-20 10:17:55 +08:00
Luis Pater and GitHub
0766c49f93
Merge pull request #994 from adrenjc/fix/cross-model-thinking-signature
...
fix(antigravity): prevent corrupted thought signature when switching models
2026-01-20 10:14:05 +08:00
Luis Pater and GitHub
a7ffc77e3d
Merge branch 'dev' into fix/cross-model-thinking-signature
2026-01-20 10:10:43 +08:00
Luis Pater and GitHub
5717c7f2f4
Merge pull request #1103 from dinhkarate/feat/imagen
...
feat(vertex): add Imagen image generation model support
2026-01-20 07:11:18 +08:00
Luis Pater and GitHub
08779cc8a8
Merge branch 'router-for-me:main' into main
2026-01-19 21:00:58 +08:00
Luis Pater and GitHub
5baa753539
Merge pull request #1099 from router-for-me/claude
...
refactor(claude): move max_tokens constraint enforcement to Apply method
2026-01-19 20:55:59 +08:00
Luis Pater and GitHub
ead98e4bca
Merge pull request #1101 from router-for-me/argy
...
fix(executor): stop rewriting thinkingLevel for gemini
2026-01-19 20:55:22 +08:00
Luis Pater and GitHub
2542c2920d
Merge pull request #1096 from router-for-me/usage
...
feat(translator): report cached token usage in Claude output
2026-01-19 11:52:18 +08:00
Luis Pater and GitHub
ac7738bdeb
Merge pull request #114 from router-for-me/plus
...
v6.7.9
2026-01-19 04:03:26 +08:00
Luis Pater and GitHub
2d9f6c104c
Merge branch 'main' into plus
2026-01-19 04:03:17 +08:00
Luis Pater and GitHub
5d0460ece2
Merge pull request #112 from clstb/main
...
Add Github Copilot support for management interface
2026-01-19 04:02:09 +08:00
Luis Pater
140d6211cc
feat(translator): add reasoning state tracking and improve reasoning summary handling
...
- Introduced `oaiToResponsesStateReasoning` to track reasoning data.
- Enhanced logic for emitting reasoning summary events and managing state transitions.
- Updated output generation to handle multiple reasoning entries consistently.
2026-01-19 03:58:28 +08:00
Luis Pater and GitHub
60f9a1442c
Merge pull request #1088 from router-for-me/thinking
...
Thinking
2026-01-18 17:01:59 +08:00
Luis Pater and GitHub
99c7abbbf1
Merge pull request #1067 from router-for-me/auth-files
...
refactor(auth): simplify filename prefixes for qwen and iflow tokens
2026-01-18 13:41:59 +08:00
Luis Pater and GitHub
8f511ac33c
Merge pull request #1076 from sususu98/fix/antigravity-enum-string
...
fix(antigravity): convert non-string enum values to strings for Gemini API
2026-01-18 13:40:53 +08:00
Luis Pater and GitHub
1046152119
Merge pull request #1068 from 0xtbug/dev
...
docs(readme): add ZeroLimit to projects based on CLIProxyAPI
2026-01-18 13:37:50 +08:00
Luis Pater and GitHub
f88228f1c5
Merge pull request #1081 from router-for-me/thinking
...
Refine thinking validation and cross‑provider payload conversion
2026-01-18 13:34:28 +08:00
Luis Pater
62e2b672d9
refactor(logging): centralize log directory resolution logic
...
- Introduced `ResolveLogDirectory` function in `logging` package to standardize log directory determination across components.
- Replaced redundant logic in `server`, `global_logger`, and `handlers` with the new utility function.
2026-01-18 12:40:57 +08:00
Luis Pater
46433a25f8
fix(translator): add check for empty text to prevent invalid serialization in gemini and antigravity
2026-01-18 00:50:10 +08:00
Luis Pater
f8f3ad84fc
Fixed : #1064
...
feat(translator): improve system message handling and content indexing across translators
- Updated logic for processing system messages in `claude`, `gemini`, `gemini-cli`, and `antigravity` translators.
- Introduced indexing for `systemInstruction.parts` to ensure proper ordering and handling of multi-part content.
- Added safeguards for accurate content transformation and serialization.
2026-01-17 05:40:56 +08:00
Luis Pater and GitHub
93d7883513
Merge pull request #110 from PancakeZik/fix/system-prompt-reinjection
...
fix: prevent system prompt re-injection on subsequent turns
2026-01-17 05:19:11 +08:00
Luis Pater and GitHub
015a3e8a83
Merge branch 'router-for-me:main' into main
2026-01-17 05:17:38 +08:00
Luis Pater
bc7167e9fe
feat(runtime): add model alias support and enhance payload rule matching
...
- Introduced `payloadModelAliases` and `payloadModelCandidates` functions to support model aliases for improved flexibility.
- Updated rule matching logic to handle multiple model candidates.
- Refactored variable naming in executor to improve code clarity and consistency.
2026-01-17 05:05:24 +08:00
Luis Pater
384578a88c
feat(cliproxy, gemini): improve ID matching logic and enrich normalized model output
...
- Enhanced ID matching in `cliproxy` by adding additional conditions to better handle ID equality cases.
- Updated `gemini` handlers to include `displayName` and `description` in normalized models for enriched metadata.
2026-01-17 04:44:09 +08:00
Luis Pater
65b4e1ec6c
feat(codex): enable instruction toggling and update role terminology
...
- Added conditional logic for Codex instruction injection based on configuration.
- Updated role terminology from "user" to "developer" for better alignment with context.
2026-01-17 04:12:29 +08:00
Luis Pater and GitHub
06afa29f2d
Merge branch 'router-for-me:main' into main
2026-01-16 20:01:35 +08:00
Luis Pater
6600d58ba2
feat(codex): enhance input transformation and remove unused safety_identifier field
...
- Added logic to transform `inputResults` into structured JSON for improved processing.
- Removed redundant `safety_identifier` field in executor payload to streamline requests.
2026-01-16 19:59:01 +08:00
Luis Pater and GitHub
25e9be3ced
Merge pull request #103 from ChrAlpha/feat/add-gpt-5.2-codex-copilot
...
feat(openai): responses API support for GitHub Copilot provider
2026-01-16 18:33:53 +08:00
Luis Pater and GitHub
ccb2aaf2fe
Merge branch 'router-for-me:main' into main
2026-01-16 18:29:56 +08:00
Luis Pater and GitHub
961c6f67da
Merge pull request #100 from novadev94/fix/readd_kiro_auto
...
fix(kiro): re-add kiro-auto to registry
2026-01-16 18:29:43 +08:00
Luis Pater and GitHub
dc4305f75a
Merge pull request #107 from zccing/main
...
fix(kiro): correct Amazon Q endpoint URL path
2026-01-16 18:28:45 +08:00
Luis Pater
aa0b63e214
refactor(config): clarify Codex instruction toggle documentation
2026-01-16 12:50:09 +08:00
Luis Pater and GitHub
3c4e7997c3
Merge branch 'router-for-me:main' into main
2026-01-16 12:47:23 +08:00
Luis Pater
1afc3a5f65
feat(auth): add support for kiro OAuth model alias
...
- Introduced `kiro` channel and alias resolution in `oauth_model_alias` logic.
- Updated supported channels documentation and examples to include `kiro` and `github-copilot`.
- Enhanced unit tests to validate `kiro` alias functionality.
2026-01-16 12:47:05 +08:00
Luis Pater
ea3d22831e
refactor(codex): update terminology to "official instructions" for clarity
2026-01-16 12:44:57 +08:00
Luis Pater and GitHub
3b4d6d359b
Merge pull request #1049 from router-for-me/codex
...
feat(codex): add config toggle for codex instructions injection
2026-01-16 12:38:35 +08:00
Luis Pater and GitHub
bca244df67
Merge branch 'router-for-me:main' into main
2026-01-16 11:37:33 +08:00
Luis Pater
cec4e251bd
feat(translator): preserve text field in serialized output during chat completions processing
2026-01-16 11:35:34 +08:00
Luis Pater
526dd866ba
refactor(gemini): replace static model handling with dynamic model registry lookup
2026-01-16 10:39:16 +08:00
Luis Pater
c29839d2ed
Merge remote-tracking branch 'origin/main' into pr-104
...
# Conflicts:
# config.example.yaml
# internal/config/config.go
# sdk/cliproxy/auth/model_name_mappings.go
2026-01-16 09:40:07 +08:00
Luis Pater
b31ddc7bf1
Merge branch 'dev'
2026-01-16 08:21:59 +08:00
Luis Pater
f571b1deb0
feat(config): add support for raw JSON payload rules
...
- Introduced `default-raw` and `override-raw` rules to handle raw JSON values.
- Enhanced `PayloadConfig` to validate and sanitize raw JSON payload rules.
- Updated executor logic to apply `default-raw` and `override-raw` rules.
- Extended example YAML to include usage of raw JSON rules.
2026-01-16 08:15:28 +08:00
Luis Pater and GitHub
67f8732683
Merge pull request #1033 from router-for-me/reasoning
...
Refactor thinking
2026-01-15 20:33:13 +08:00
Luis Pater
7248f65c36
feat(auth): prevent filestore writes on unchanged metadata
...
- Added `metadataEqualIgnoringTimestamps` to compare metadata while ignoring volatile fields.
- Prevented redundant writes caused by changes in timestamp-related fields.
- Improved efficiency in filestore operations by skipping unnecessary updates.
2026-01-15 14:05:23 +08:00
Luis Pater and GitHub
d6111344c5
Merge branch 'router-for-me:main' into main
2026-01-15 13:30:28 +08:00
Luis Pater
086eb3df7a
refactor(auth): simplify file handling logic and remove redundant comparison functions
...
feat(auth): fetch and update Antigravity project ID from metadata during filestore operations
- Added support to retrieve and update `project_id` using the access token if missing in metadata.
- Integrated HTTP client to fetch project ID dynamically.
- Enhanced metadata persistence logic.
2026-01-15 13:29:14 +08:00
Luis Pater and GitHub
496f6770a5
Merge branch 'router-for-me:main' into main
2026-01-15 12:09:22 +08:00
Luis Pater
5a7e5bd870
feat(auth): add Antigravity onboarding with tier selection
...
- 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.
2026-01-15 11:43:02 +08:00