mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-06-22 19:45:15 +08:00
- Introduced a Go-based plugin `codex-service-tier` for normalizing requests to Codex. - Added functionality to set `service_tier` to `priority` for `gpt-5.5` requests when `fast` mode is enabled. - Enhanced plugin capabilities with lifecycle configuration and request transformation support. - Updated documentation with configuration examples and usage instructions in multiple languages.
649 B
649 B
Codex Service Tier Plugin
This plugin is a request normalizer for Codex outbound requests.
When the plugin is enabled and fast is set to true, it sets the top-level service_tier field to priority for requests where:
req.ToFormatiscodexreq.Modelisgpt-5.5
Requests that do not match these conditions are returned unchanged.
Configuration
Add the plugin under plugins.configs:
plugins:
configs:
codex-service-tier:
enabled: true
priority: 1
fast: false
fast is a boolean field. Set it to true to enable priority service tier shaping for matching Codex gpt-5.5 requests.