Luis Pater
0d6ecb0191
Fixed : #1077
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
refactor(translator): improve tools handling by separating functionDeclarations and googleSearch nodes
2026-01-24 05:51:11 +08:00
Luis Pater
873d41582f
Merge pull request #1125 from NightHammer1000/dev
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
c8884f5e25
refactor(translator): enhance signature handling in Claude and Gemini requests, streamline cache usage and remove unnecessary tests
2026-01-21 20:21:49 +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
Vino
d29ec95526
fix(translator): ensure system message is only added if it contains content
2026-01-21 16:45:50 +08:00
Luis Pater
ef4508dbc8
refactor(cache, translator): remove session ID from signature caching and clean up logic
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
hkfires
9332316383
fix(translator): preserve thinking blocks by skipping signature
2026-01-21 10:49:20 +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
N1GHT
09970dc7af
Accept Geminis Review Suggestion
2026-01-20 17:51:36 +01:00
N1GHT
d81abd401c
Returned the Code Comment I trashed
2026-01-20 17:36:27 +01:00
N1GHT
a6cba25bc1
Small fix to filter out Top_P when Temperature is set on Claude to make requests go through
2026-01-20 17:34:26 +01:00
hkfires
9b72ea9efa
fix(translator): enhance signature cache clearing logic and update test cases with model name
2026-01-20 20:02:29 +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
8d9f4edf9b
feat(translator): unify model group references by introducing GetModelGroup helper function
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2026-01-20 13:45:25 +08:00
Luis Pater
020e61d0da
feat(translator): improve signature handling by associating with model name in cache functions
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2026-01-20 13:31:36 +08:00
Luis Pater
6184c43319
Fixed : #1109
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
d4bb4e6624
refactor(antigravity): remove unused client signature handling in thinking objects
2026-01-20 10:17:55 +08:00
Luis Pater
a7ffc77e3d
Merge branch 'dev' into fix/cross-model-thinking-signature
2026-01-20 10:10:43 +08:00
hkfires
52e46ced1b
fix(translator): avoid forcing RFC 8259 system prompt
2026-01-19 11:33:27 +08:00
hkfires
cf9daf470c
feat(translator): report cached token usage in Claude output
2026-01-19 11:23:44 +08:00
Luis Pater
140d6211cc
feat(translator): add reasoning state tracking and improve reasoning summary handling
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- 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
hkfires
d5ef4a6d15
refactor(translator): remove registry model lookups from thinking config conversions
2026-01-18 10:30:14 +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
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
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
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
6600d58ba2
feat(codex): enhance input transformation and remove unused safety_identifier field
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- 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
cec4e251bd
feat(translator): preserve text field in serialized output during chat completions processing
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2026-01-16 11:35:34 +08:00
hkfires
199cf480b0
refactor(thinking): remove support for non-standard thinking configurations
...
This change removes the translation logic for several non-standard, proprietary extensions used to configure thinking/reasoning. Specifically, support for `extra_body.google.thinking_config` and the Anthropic-style `thinking` object has been dropped from the OpenAI request translators.
This simplification streamlines the translators, focusing them on the standard `reasoning_effort` parameter. It also removes the need to look up model information from the registry within these components.
BREAKING CHANGE: Support for non-standard thinking configurations via `extra_body.google.thinking_config` and the Anthropic-style `thinking` object has been removed. Clients should now use the standard `reasoning_effort` parameter to control reasoning.
2026-01-15 19:32:12 +08:00
hkfires
5a77b7728e
refactor(thinking): improve budget clamping and logging with provider/model context
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
0b06d637e7
refactor: improve thinking logic
2026-01-15 13:06:39 +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.
2026-01-15 03:27:00 +08:00
adrenjc
5977af96a0
fix(antigravity): prevent corrupted thought signature when switching models
...
When switching from Claude models (e.g., Opus 4.5) to Gemini models
(e.g., Flash) mid-conversation via Antigravity OAuth, the client-provided
thinking signatures from Claude would cause "Corrupted thought signature"
errors since they are incompatible with Gemini API.
Changes:
- Remove fallback to client-provided signatures in thinking block handling
- Only use cached signatures (from same-session Gemini responses)
- Skip thinking blocks without valid cached signatures
- tool_use blocks continue to use skip_thought_signature_validator when
no valid signature is available
This ensures cross-model switching works correctly while preserving
signature validation for same-model conversations.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-13 18:24:05 +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
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
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
2026-01-10 01:01:09 +08:00