mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-06 15:22:12 +03:00
fix(translator): treat developer role as system in Claude translation (#2407)
openAIToClaude now extracts developer-role messages into systemParts (alongside system role) and filters them from nonSystemMessages, so identity context injected via the Responses API developer role reaches the Claude system field instead of silently becoming an assistant turn.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
### 🔧 Bug Fixes & Refactors
|
||||
|
||||
- **fix(translator):** treat `developer` role as system in OpenAI → Claude translation — `openAIToClaude` now extracts `developer`-role messages into `systemParts` (same as `system`) and filters them from the non-system message list, preventing identity context injected via the Responses API `developer` role from silently becoming an assistant turn when routing to a Claude-format provider. ([#2407](https://github.com/diegosouzapw/OmniRoute/issues/2407))
|
||||
- **fix(antigravity):** deduplicate `removeHeaderCaseInsensitive` — export canonical implementation from `antigravityClientProfile.ts` and remove the local copy in `antigravity.ts`; export `AntigravityCredentialsLike` type for cross-module use. (#2433 — thanks @Gi99lin)
|
||||
|
||||
### 🔒 Security Fixes
|
||||
|
||||
Reference in New Issue
Block a user