Add projects
This commit is contained in:
parent
2d3a9ad623
commit
8b607dd700
1802 changed files with 503346 additions and 2 deletions
25
backend/examples/plugin/codex-service-tier/README.md
Normal file
25
backend/examples/plugin/codex-service-tier/README.md
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# 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.ToFormat` is `codex`
|
||||
- `req.Model` is `gpt-5.5`
|
||||
|
||||
Requests that do not match these conditions are returned unchanged.
|
||||
|
||||
## Configuration
|
||||
|
||||
Add the plugin under `plugins.configs`:
|
||||
|
||||
```yaml
|
||||
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.
|
||||
Loading…
Reference in a new issue