mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-19 00:13:11 +08:00
Add ordered literal replace rules that rewrite existing user text at selected one-based positions, or all users, in the final upstream payload after overrides and before filters. Support OpenAI Chat, Claude, Responses/Codex, Gemini, and Antigravity layouts while leaving system prompts, tools, images, and thinking untouched. Validate and sanitize rule config, preserve it through YAML/JSON and runtime cloning, surface it in config diffs and SDK types, and document it in the example config.
8.6 KiB
8.6 KiB