@siddr/pi-openai-params
Combined OpenAI fast mode and verbosity settings for pi
Package details
Install @siddr/pi-openai-params from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@siddr/pi-openai-params- Package
@siddr/pi-openai-params- Version
0.1.3- Published
- Apr 24, 2026
- Downloads
- 334/mo · 147/wk
- Author
- siddr
- License
- MIT
- Types
- extension
- Size
- 30.6 KB
- Dependencies
- 0 dependencies · 3 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
openai-params
Combined OpenAI fast-mode and verbosity settings for pi.
What it does
This extension adds /openai-params, which opens a small settings screen for:
Ctrl+SsavesEsccancels
Use the list to:
- toggling fast mode
- setting verbosity to
low,medium,high, or the default unset state
When enabled, it patches provider requests right before send:
- fast mode →
service_tier=priority - verbosity →
text.verbosity=<level>
Behavior
- Fast mode is only applied to configured supported models.
- Default supported models are:
openai/gpt-5.4openai-codex/gpt-5.4
- Verbosity is applied only to OpenAI Responses-family APIs:
openai-responsesopenai-codex-responsesazure-openai-responses
- The default verbosity setting is unset, so the extension does not send any
text.verbosityfield unless you choose one.
Config
Config uses the same project-over-global pattern as the fast-mode package:
- project:
.pi/extensions/openai-params.json - global:
~/.pi/agent/openai-params.json
If neither file exists, the extension creates the global file on first run.
Default config:
{
"fast": false,
"verbosity": null,
"supportedModels": [
"openai/gpt-5.4",
"openai-codex/gpt-5.4"
]
}
Integration
This extension emits its current state on pi's extension event bus over pi:openai-params with:
sourcecwdfastverbosity
That lets other extensions, including status, show the active non-default fast/verbosity settings for the current workspace.
Notes
This extension combines the behavior of:
@benvargas/pi-openai-fastforservice_tier=prioritypi-verbosity-controlfortext.verbosity
based on OpenAI GPT-5 / Responses API parameter docs.