@billjr99/pi-openai-compat 1.1.10 → 1.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/index.ts +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -47,6 +47,8 @@ If pi is already running when you install, type `/reload` first.
|
|
|
47
47
|
| **MiniMax** | `https://api.minimax.io/v1` | API key from platform.minimax.io |
|
|
48
48
|
| **Z.ai** | `https://api.z.ai/api/paas/v4` | API key from z.ai |
|
|
49
49
|
| **Venice AI** | `https://api.venice.ai/api/v1` | API key from venice.ai/settings/api |
|
|
50
|
+
| **Fireworks AI** | `https://api.fireworks.ai/inference/v1` | API key from fireworks.ai/account/api-keys |
|
|
51
|
+
| **Together AI** | `https://api.together.xyz/v1` | API key from api.together.ai/settings/api-keys |
|
|
50
52
|
| **Cloudflare Workers AI** | `https://api.cloudflare.com/client/v4/accounts/{account}/ai/v1` | API token from dash.cloudflare.com |
|
|
51
53
|
| **Cloudflare AI Gateway** | `https://gateway.ai.cloudflare.com/v1/{account}/{gateway}/openai` | API token from dash.cloudflare.com |
|
|
52
54
|
| **Vercel AI Gateway** | `https://ai-gateway.vercel.sh/v1` | API key from vercel.com |
|
package/index.ts
CHANGED
|
@@ -210,6 +210,18 @@ const TEMPLATES: Record<string, {
|
|
|
210
210
|
keyless: false,
|
|
211
211
|
keyHint: "venice.ai/settings/api",
|
|
212
212
|
},
|
|
213
|
+
fireworks: {
|
|
214
|
+
displayName: "Fireworks AI",
|
|
215
|
+
baseUrl: "https://api.fireworks.ai/inference/v1",
|
|
216
|
+
keyless: false,
|
|
217
|
+
keyHint: "fireworks.ai/account/api-keys",
|
|
218
|
+
},
|
|
219
|
+
together: {
|
|
220
|
+
displayName: "Together AI",
|
|
221
|
+
baseUrl: "https://api.together.xyz/v1",
|
|
222
|
+
keyless: false,
|
|
223
|
+
keyHint: "api.together.ai/settings/api-keys",
|
|
224
|
+
},
|
|
213
225
|
ollama: {
|
|
214
226
|
displayName: "Ollama (local, keyless)",
|
|
215
227
|
baseUrl: "http://localhost:11434/v1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@billjr99/pi-openai-compat",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "pi-coding-agent extension: OpenAI-compatible endpoint support (OpenRouter, NVIDIA NIM, Nous Portal, Ollama, custom)",
|
|
5
5
|
"author": "Bill Mongan <https://github.com/BillJr99>",
|
|
6
6
|
"license": "MIT",
|