pi-package-ovh-ai-chat
Pi package for OVH AI Endpoints chat models
Package details
Install pi-package-ovh-ai-chat from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-package-ovh-ai-chat- Package
pi-package-ovh-ai-chat- Version
1.0.0- Published
- Aug 2, 2026
- Downloads
- 175/mo · 7/wk
- Author
- satwiz
- License
- MIT
- Types
- extension
- Size
- 20.9 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Package for OVH AI Endpoints
Pi provider for OVHcloud AI Endpoints chat models.
Requires: Pi coding agent 0.81.0 or newer.
Installation
pi install pi-package-ovh-ai-chat
Setup
Get a token from endpoints.ai.cloud.ovh.net, then either:
# Option 1: environment variable
export OVH_AI_TOKEN="your-token"
# Option 2: stored credential (run inside pi)
/login ovhai
The extension registers even without a token, so you can install first and authenticate afterward.
Usage
# List available models (fetched dynamically from OVH)
pi --list-models | grep ovhai
# Chat with a model
pi --model ovhai/gpt-oss-120b
The model catalog is fetched from OVH on startup, on /model refresh, and on pi update --models. If the fetch fails (missing/expired token, OVH unreachable), the provider registers with an empty catalog and a warning; the next successful refresh populates it automatically.
Configuration
| Variable | Required | Default | Description |
|---|---|---|---|
OVH_AI_TOKEN |
Yes | — | OVH AI Endpoints API token |
OVH_AI_API |
No | openai-responses |
API type: openai-responses or openai-completions |
OVH_AI_BASE_URL |
No | https://oai.endpoints.kepler.ai.cloud.ovh.net/v1 |
Base URL override |
Vision limitation: OVH's
/v1/responsesbackend currently rejects image inputs (HTTP 422). For vision tasks, use a vision-capable model withOVH_AI_API=openai-completions:export OVH_AI_API="openai-completions" pi --model ovhai/Qwen3.5-9B
License
MIT