feat(release): v2.0.14 — fix model name stripping, multimodal image_url, electron release workflow

- Fix #243: model.split('/').pop() → slice(1).join('/') preserves vendor namespaces
- Fix #242: image_url → input_image conversion for Responses API backends
- Merge PR #241: electron release workflow (mac x64/arm64 separation, version sync)
- CHANGELOG updated
This commit is contained in:
diegosouzapw
2026-03-08 02:19:36 -03:00
parent 9429d1639e
commit 757057b215
2 changed files with 25 additions and 1 deletions

View File

@@ -7,6 +7,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
---
## [2.0.14] — 2026-03-08
> ### 🐛 Bug Fixes + Electron Release Fix
### 🐛 Bug Fixes
- **#243 — OpenAI-Compatible model name stripping** — Fixed `model.split("/").pop()` stripping vendor namespace from model names with slashes. Models like `moonshotai/Kimi-K2-Instruct` were being truncated to just `Kimi-K2-Instruct`. Now uses `slice(1).join("/")` to preserve the full vendor/model path
- **#242 — Multimodal image_url rejection on Responses API** — Fixed `image_url` content parts from Chat Completions format being passed through without conversion to `input_image` format expected by Responses/Codex backends. Now properly converts `{type: "image_url", image_url: {url: "..."}}``{type: "input_image", image_url: "..."}`
### 🔧 Infrastructure
- **PR #241 — Electron release workflow** — Synced `electron/package.json` version to `2.0.13`, separated macOS x64 and arm64 into dedicated CI runner jobs, using `macos-13` (Intel) runner for x64 builds to prevent cross-compilation timeouts (thanks @benzntech)
### 📁 Files Changed
| File | Change |
| ------------------------------------------------- | -------------------------------------------------------- |
| `open-sse/executors/default.ts` | Fix model name stripping: `pop()``slice(1).join("/")` |
| `open-sse/translator/request/openai-responses.ts` | Convert `image_url``input_image` for Responses API |
| `.github/workflows/electron-release.yml` | Separate mac x64/arm64 builds |
| `electron/package.json` | Version sync + arch-specific build scripts |
---
## [2.0.11] — 2026-03-07
> ### 🤖 ACP Agents Dashboard + Anti-Ban Docs

View File

@@ -1,6 +1,6 @@
{
"name": "omniroute",
"version": "2.0.13",
"version": "2.0.14",
"description": "Smart AI Router with auto fallback — route to FREE & cheap models, zero downtime. Works with Cursor, Cline, Claude Desktop, Codex, and any OpenAI-compatible tool.",
"type": "module",
"bin": {