pi-volcengine-provider
v0.1.2
Published
Pi provider extension for Volcengine Ark Coding API models.
Downloads
169
Maintainers
Readme
pi-volcengine-provider
Pi package that registers a Volcengine Ark Coding API provider.
Install
npm package: pi-volcengine-provider
Recommended install from npm:
pi install npm:pi-volcengine-providerTo pin a specific npm version:
pi install npm:[email protected]You can also install from GitHub:
pi install git:github.com/MacroSony/pi-volcengine-providerFor local development:
pi -e /path/to/pi-volcengine-providerTo try the published package for one run without installing it:
pi -e npm:pi-volcengine-providerAuthentication
The provider id is volcengine-plan. Pi will use ~/.pi/agent/auth.json first, then the VOLCENGINE_API_KEY environment variable as a fallback.
{
"volcengine-plan": { "type": "api_key", "key": "your-volcengine-key" }
}Or:
export VOLCENGINE_API_KEY=your-volcengine-keyModels
This extension follows the Volcengine Coding Plan model list and registers:
ark-code-latestdoubao-seed-2.0-codedoubao-seed-2.0-prodoubao-seed-2.0-litedoubao-seed-codeminimax-m2.7minimax-m3glm-5.2glm-latestdeepseek-v4-flashdeepseek-v4-prokimi-k2.6kimi-k2.7-code
Run pi --list-models after installing to confirm the provider is loaded.
Thinking levels
This extension maps Pi's native thinking selector to provider-specific Chat Completions controls:
- Pi
off->thinking: { "type": "disabled" } - Most Volcengine reasoning models: Pi
low,medium,high->thinking: { "type": "enabled" }plus matchingreasoning_effort - Pi
minimalis hidden because Volcengine'sreasoning_effort: "minimal"means no thinking; selecting it clamps tolow - Pi
xhigh->reasoning_effort: "max"only for models verified to accept it (ark-code-latest,deepseek-v4-flash,deepseek-v4-pro) glm-5.2andglm-latestuse the GLM/Z.AI thinking shape: Pilow,medium, andhighsendthinking: { "type": "enabled" }withoutreasoning_effort; Pioffsends disabled.
