@whynothugo/pi-aliyun
v1.0.0
Published
Aliyun CodingPlan provider extension for pi
Readme
pi-aliyun
pi-coding-agent provider extension for use with Aliyun
Installation
Install with:
pi install https://git.sr.ht/~whynothugo/pi-aliyunAuthentication
Use the /login command or add to ~/.pi/agent/auth.json:
{
"aliyun-codingplan": {
"type": "api_key",
"key": "sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}It is also possible to use an environment variable:
ALIYUN_CODING_PLAN_API_KEY=sk-sp-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Updating Models
The model definitions are stored in models.json and are fetched from
https://models.dev/api.json. Update them with:
python3 scripts/update-models.py