Luis Pater
c8f20a66a8
fix(executor): add logging and prompt cache key handling for OpenAI responses
2025-11-07 22:40:45 +08:00
hkfires
d60040b222
fix(translator): accept camelCase thinking config in OpenAI→Gemini
2025-11-07 16:45:31 +08:00
Luis Pater
3ce1b4159b
fix(executor): remove outdated Gemini model previews from CLI fallback order
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-07 10:30:22 +08:00
Luis Pater
7516ac4ce7
fix(registry): add gemini-3-pro-preview-11-2025 model to Gemini CLI model definitions
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-06 08:47:17 +08:00
Luis Pater
2a73d8c4a3
fix(translator): simplify tool response handling and adjust JSON schema updates in Gemini modules
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-05 22:48:50 +08:00
Luis Pater
10be026ace
fix(translator): remove strict field from Gemini Claude tool initialization
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-05 18:14:58 +08:00
Luis Pater
e18e288fda
fix(registry): Remove gemini-2.5-flash-image Gemini models from gemini cli and add gemini-2.5-flash-image preview to AIStudio
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
These models were likely for internal preview or testing and are no longer relevant for public use.
2025-11-04 03:02:16 +08:00
Luis Pater
38cfbac8f0
fix(executor): adjust Anthropic-Beta header handling for consistent API requests
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-03 20:49:01 +08:00
Luis Pater
5be4d22b9b
fix(executor): ensure consistent header application in Claude API requests
2025-11-03 17:57:20 +08:00
Luis Pater
64774a5786
fix(executor): remove safetySettings from payload in token counting request
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-03 17:31:43 +08:00
Luis Pater
89b0d53a09
fix(executor): remove safetySettings from payload for Gemini requests
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-11-01 16:53:48 +08:00
Luis Pater
fd2b23592e
Fixed : #193
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
fix(translator): consolidate temperature and top_p conditionals in OpenAI Claude request
Fixed : #169
fix(translator): adjust instruction strings in Codex Claude and OpenAI responses
2025-11-01 15:37:51 +08:00
hkfires
2021ae3891
fix(config): skip persisting empty API key and compat entries
2025-10-31 15:56:47 +08:00
hkfires
5c65938113
fix(config): stabilize YAML sequence merges by reordering items
2025-10-31 15:21:58 +08:00
hkfires
16be3f0a12
fix(config): dedupe and normalize Gemini keys and headers
2025-10-31 13:20:10 +08:00
hkfires
7c1c4ee60b
feat(gemini): add Gemini API key endpoints
2025-10-31 11:09:28 +08:00
Luis Pater
96c7271448
Merge pull request #191 from router-for-me/gemini
...
Add safety settings for gemini models
2025-10-31 09:24:37 +08:00
Luis Pater
07da781336
feat(registry): add client model support check for executor filtering
...
- Introduced `ClientSupportsModel` function to `ModelRegistry` for verifying client support for specific models.
- Integrated model support validation into executor candidate filtering logic.
- Updated CLIProxy registry interface to include the new support check method.
2025-10-31 09:15:14 +08:00
hkfires
a53c84d0d1
feat(gemini): apply default safety settings across request translators
2025-10-31 08:22:16 +08:00
hkfires
a517290726
refactor(executor): summarize API error bodies of html in debug logs
2025-10-31 06:58:38 +08:00
Luis Pater
af3fbd134d
fix(translator): remove strict key from function declaration to prevent errors during schema transformation
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-10-30 13:14:26 +08:00
hkfires
1bbbd16df6
chore(logging): clarify 429 rate-limit retries in Gemini executor
2025-10-29 19:19:18 +08:00
hkfires
5cb378256b
feat(gemini-translators): set include_thoughts when mapping thinking
2025-10-29 19:19:18 +08:00
hkfires
3ac5f05e8c
feat(gemini): prefer official reasoning fields, add extra_body(cherry studio) fallback
2025-10-29 19:19:18 +08:00
hkfires
58d30369b4
fix(gemini-cli): correctly strip/normalize thinking config by model
2025-10-29 19:19:18 +08:00
hkfires
7dd93a4a25
fix(executor): only apply thinking config to supported models
2025-10-29 19:19:17 +08:00
hkfires
2a3ee8d0e3
fix(translators): normalize thinking budgets
2025-10-29 19:19:17 +08:00
hkfires
41577bce07
feat(claude): map Anthropic 'thinking' to Gemini thinkingBudget
2025-10-29 19:19:17 +08:00
hkfires
3d7aca22c0
feat(registry): add thinking budget support; populate Gemini models
2025-10-29 19:19:17 +08:00
hkfires
680b3f5010
fix(translator): avoid default thinkingConfig in Gemini requests
2025-10-29 19:19:17 +08:00
Luis Pater
9d42e4b239
feat(runtime): add User-Agent headers to codex and claude executors
...
- Standardized User-Agent strings for Codex and Claude executors to improve request tracing and compatibility.
- Updated header insertion logic in both executors for consistency.
2025-10-29 12:57:37 +08:00
Luis Pater
0defb68c6c
fix(translator): improve error handling for function parameters schema transformation
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- Added fallback to set default `parametersJsonSchema` when `parameters` key is absent.
- Enhanced logging to capture detailed errors during schema transformation.
- Refined tool declaration appending logic for robustness.
2025-10-28 22:57:26 +08:00
hkfires
663b9b35ab
fix(executor): pass authID to relay instead of provider
2025-10-28 19:28:26 +08:00
hkfires
5dced4c0a6
feat(registry): unify Gemini models and add AI Studio set
2025-10-28 19:00:25 +08:00
Luis Pater
ac3d47e8c0
Merge pull request #173 from tobwen/feature/dynamic-model-routing
...
Add support for dynamic model providers
2025-10-28 08:55:08 +08:00
tobwen
e5ed2cba4a
Add support for dynamic model providers
...
Implements functionality to parse model names with provider information in the format "provider://model" This allows dynamic provider selection rather than relying only on predefined mappings.
The change affects all execution methods to properly handle these dynamic model specifications while maintaining compatibility with the existing approach for standard model names.
2025-10-28 01:41:54 +01:00
Luis Pater
847c2502a5
Fixed : #172
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
feat(runtime): add Brotli and Zstd compression support, improve response handling
- Implemented Brotli and Zstd decompression handling in `FileRequestLogger` and executor logic for enhanced compatibility.
- Added `decodeResponseBody` utility for streamlined multi-encoding support (Gzip, Deflate, Brotli, Zstd).
- Improved resource cleanup with composite readers for proper closure under all conditions.
- Updated dependencies in `go.mod` and `go.sum` to include Brotli and Zstd libraries.
2025-10-28 08:39:03 +08:00
Luis Pater
c7196ba7dc
feat(claude): add model alias mapping and improve key normalization
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- Introduced model alias mapping for Claude configurations, enabling upstream and client-facing model name associations.
- Added `computeClaudeModelsHash` to generate a consistent hash for model aliases.
- Implemented `normalizeClaudeKey` function to standardize input API key configuration, including models.
- Enhanced executor to resolve model aliases to upstream names dynamically.
- Updated documentation and configuration examples to reflect new model alias support.
2025-10-28 00:14:19 +08:00
Luis Pater
6f9c23af5e
#167
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
refactor(translator): consolidate Claude content handling logic
- Unified logic for text and image content conversion to improve maintainability.
- Introduced `convertClaudeContentPart` utility for consistent content transformation.
- Replaced redundant string operations with streamlined JSON modifications.
- Adjusted validation checks for message content generation.
2025-10-27 22:43:59 +08:00
Luis Pater
2d5d06c809
feat(registry): add Qwen3 Vision Model definition #164
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
2025-10-27 00:41:05 +08:00
hkfires
e370f86f63
fix(gemini-executor): uppercase responseModalities
2025-10-26 21:26:15 +08:00
hkfires
7f266aa19e
fix(aistudio): ensure colon-spaced JSON in responses
2025-10-26 20:21:45 +08:00
hkfires
f3f31274e8
refactor(wsrelay): rename RoundTrip to NonStream
2025-10-26 20:01:46 +08:00
hkfires
7061cd6058
fix(gemini): map responseModalities to uppercase IMAGE/TEXT
2025-10-26 19:35:22 +08:00
Luis Pater
5da5674ae2
Merge pull request #161 from router-for-me/aistudio
...
Add websocket provider
2025-10-26 16:39:09 +08:00
hkfires
7459c2c81a
fix(aistudio): remove generationConfig and tools when action is countTokens
2025-10-26 16:28:20 +08:00
Luis Pater
cd4706f60e
fix(server): resolve incorrect variable usage in management asset paths
...
docker-image / docker (push) Has been cancelled
goreleaser / goreleaser (push) Has been cancelled
- Replaced `s.currentPath` with `s.configFilePath` for consistent handling of management asset paths.
- Adjusted calls to `managementasset.FilePath` and `StaticDir` to use the updated configuration path.
2025-10-26 12:44:57 +08:00
hkfires
359b8de44e
feat(ws): add WebSocket auth
2025-10-26 07:46:04 +08:00
hkfires
ea6065f1b1
fix(aistudio): strip usage metadata from non-final stream chunks
2025-10-26 07:46:04 +08:00
hkfires
8aaed4cf09
feat(aistudio): support non-streaming responses
2025-10-26 07:46:04 +08:00