Skip to content

Enhance XAI response sanitization and reasoning support - #6092

Merged
luispater merged 2 commits into
devfrom
xai
Sep 24, 2026
Merged

luispater merged 2 commits into
devfrom
xai

Conversation

@hkfires

@hkfires hkfires commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Refactor the response sanitization process to improve handling of resolved thinking support, while removing outdated reasoning effort checks. Update related tests to ensure proper functionality.

@luispater
luispater merged commit 93cccc6 into dev Sep 24, 2026
3 checks passed
@luispater
luispater deleted the xai branch September 24, 2026 04:31
github-actions Bot added a commit to omarcresp/cliproxyapi-flake that referenced this pull request Sep 24, 2026
## server 7.3.17

<!-- cliproxyapi-linux-release-assets:start -->
## Linux release assets

- `CLIProxyAPI_<version>_linux_<arch>.tar.gz` is the default Linux build. It supports dynamic library plugins and is built against a GLIBC 2.17 baseline.
- `CLIProxyAPI_<version>_linux_<arch>_no-plugin.tar.gz` is the portable Linux build for musl-based or older systems such as OpenWrt. It does not support dynamic library plugins.

## FreeBSD release assets

- `CLIProxyAPI_<version>_freebsd_aarch64_no-plugin.tar.gz` is the FreeBSD arm64 build. It is built without CGO and does not support dynamic library plugins.

<!-- cliproxyapi-linux-release-assets:end -->

## Changelog

- feat(executor): enhance sanitizeXAIResponsesBody to utilize resolved thinking support (984aee8d)
- fix(codex): send the ChatGPT routing hint native Codex sends (b97f71da)
- refactor(executor): remove unsupported reasoning effort handling and update related tests (6d1d74b3)
- Merge pull request #6092 from router-for-me/xai (93cccc6b)
- Merge commit 'refs/pull/6090/head' of github.com:router-for-me/CLIProxyAPI into dev (0876e7f0)
- fix(codex): use resolved base model for routing hint (dd3b657b)
- fix(claude): align 2.1.280 fingerprint and thinking visibility (#6096) (f7c738da)
- fix(translator): sanitize tool names for Claude and inject fallback schema for parameterless tools (75b854eb)
- Enhance logging and improve thought signature handling (#6106) (8222e328)
- fix(translator,auth): avoid synthetic bypass on unsigned text parts and reduce stream rewrite log noise (107d7f76)
- Merge pull request #6107 from sususu98/fix/stream-rewrite-log-noise (75f2d018)
- fix(executor,auth): support Session_id header in Antigravity replay and remove redundant stream chunk logging (c7f358d4)
- fix(registry,cliproxy): set xai owned_by for Devin grok models and align Antigravity web search tests (377747b8)
- fix(api): immediately close connections on stop and guard state access (759c57c2)
- fix(registry): keep request context active until response body is read (74c1ebd3)
- fix(interceptors): avoid cloning request body for read-only interceptors (c9a06ba6)
- fix(session): avoid rescanning large payloads during session extraction (1dffddf4)
- fix(meta): fix client id header and preserve subscription metadata (9bdde54b)


## What's Changed
* Enhance XAI response sanitization and reasoning support by @hkfires in router-for-me/CLIProxyAPI#6092
* fix(codex): send the ChatGPT routing hint native Codex sends by @SamGu-NRX in router-for-me/CLIProxyAPI#6090
* fix(claude): align 2.1.280 fingerprint and thinking visibility by @sususu98 in router-for-me/CLIProxyAPI#6096
* Enhance logging and improve thought signature handling by @hkfires in router-for-me/CLIProxyAPI#6106
* fix(auth,translator): reduce stream model rewrite log noise and prevent empty parts on unsigned text by @sususu98 in router-for-me/CLIProxyAPI#6107

## New Contributors
* @SamGu-NRX made their first contribution in router-for-me/CLIProxyAPI#6090

**Full Changelog**: router-for-me/CLIProxyAPI@v7.3.16...v7.3.17


Upstream release: https://github.com/router-for-me/CLIProxyAPI/releases/tag/v7.3.17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants