@vidaiuk/pi-provider 0.1.0 → 0.1.2
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 +3 -3
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Vidai for pi
|
|
2
2
|
|
|
3
3
|
Use [pi](https://pi.dev) with every model your organisation offers through
|
|
4
|
-
[Vidai](https://
|
|
4
|
+
[Vidai](https://vidaicontrol.com), the governance-first AI control room. Your calls go
|
|
5
5
|
through your Vidai gateway, so your organisation's policies, guardrails, region
|
|
6
6
|
rules and budgets apply to them, and they show in Vidai's request logs and costs.
|
|
7
7
|
|
|
@@ -19,7 +19,7 @@ pi -e npm:@vidaiuk/pi-provider
|
|
|
19
19
|
|
|
20
20
|
## Set up
|
|
21
21
|
|
|
22
|
-
Set two variables, from your Vidai admin or the Vidai console (**
|
|
22
|
+
Set two variables, from your Vidai admin or the Vidai console (**Keys**):
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
export VIDAI_BASE_URL=https://ai.example.com # your Vidai gateway, with or without /v1
|
|
@@ -71,7 +71,7 @@ package then uses that.
|
|
|
71
71
|
|
|
72
72
|
## Works with
|
|
73
73
|
|
|
74
|
-
Vidai 1.0.0-rc.3 and later, pi 1.4 and later. The source is short (three files in
|
|
74
|
+
Vidai 1.0.0-rc.3 and later, pi 1.4 and later. Full guide: [Vidai docs: pi](https://docs.vidaicontrol.com/integrations/coding/pi/). The source is short (three files in
|
|
75
75
|
[`src/`](src)); read it before installing, as with any pi extension.
|
|
76
76
|
|
|
77
77
|
## Licence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vidaiuk/pi-provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Vidai as a model provider in pi: every model your Vidai key may call, governed by your organisation’s policies",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"check": "tsc -p tsconfig.json",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"typescript": "^5.9.3",
|
|
24
24
|
"vitest": "^3.2.7"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://
|
|
26
|
+
"homepage": "https://docs.vidaicontrol.com/integrations/coding/pi/",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
29
|
"url": "git+https://github.com/vidaiUK/pi-provider.git"
|
|
@@ -44,5 +44,6 @@
|
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|
|
47
|
-
}
|
|
47
|
+
},
|
|
48
|
+
"author": "Vidai (https://vidaicontrol.com)"
|
|
48
49
|
}
|