awto-pi-lot

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

awto-pi-lot NPM Version

awto-pi-lot is an extension for pi-coding-agent that adds support for PPQ.ai & NanoGPT providers.

Info

To see the potential benefits of using accountless AI providers, see https://github.com/earendil-works/pi/discussions/2483

Install/use

Install it with:

pi install npm:awto-pi-lot

Or from git directly:

pi install git:github.com/tarsgate/awto-pi-lot

Or if you want to use it without installing, use the -e flag (alias for --extension):

pi -e npm:awto-pi-lot

Or from git directly:

pi --extension git:github.com/tarsgate/awto-pi-lot

Setup/auth

You can authenticate with an auth.json file to hook your key, e.g.:

{
  "ppq": { "type": "api_key", "key": "sk-..." },
  "nanogpt": { "type": "api_key", "key": "sk-nano-..." }
}

And place in ~/.pi/agent/auth.json.

Using env vars (PPQ_API_KEY, NANOGPT_API_KEY) is also supported but not recommended, because security tools like skynot or pi-less-yolo might not work well with env vars OOTB.


History

This repo used to be a fork of 'pi-mono' before becoming just a custom-provider extension. For retreiving the history of that old effort, check out tag v0.60.0 (commit b0026866bf3459e06afb244f8b4334bc3782f7b0) and apply the patches in folder patches/old/ on top of it.

License

MIT