@agnishc/edb-custom-provider 0.14.5 → 0.16.0

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/package.json CHANGED
@@ -1,30 +1,30 @@
1
1
  {
2
- "name": "@agnishc/edb-custom-provider",
3
- "version": "0.14.5",
4
- "description": "Custom model providers for pi",
5
- "keywords": [
6
- "pi-package",
7
- "pi-extension",
8
- "edb"
9
- ],
10
- "type": "module",
11
- "license": "MIT",
12
- "author": "Agnish Chakraborty",
13
- "scripts": {
14
- "test": "vitest run"
15
- },
16
- "files": [
17
- "src",
18
- "README.md",
19
- "LICENSE"
20
- ],
21
- "pi": {
22
- "extensions": [
23
- "./src/index.ts"
24
- ]
25
- },
26
- "peerDependencies": {
27
- "@earendil-works/pi-coding-agent": "*",
28
- "@earendil-works/pi-ai": "*"
29
- }
2
+ "name": "@agnishc/edb-custom-provider",
3
+ "version": "0.16.0",
4
+ "description": "Custom model providers for pi",
5
+ "keywords": [
6
+ "pi-package",
7
+ "pi-extension",
8
+ "edb"
9
+ ],
10
+ "type": "module",
11
+ "license": "MIT",
12
+ "author": "Agnish Chakraborty",
13
+ "scripts": {
14
+ "test": "vitest run"
15
+ },
16
+ "files": [
17
+ "src",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "pi": {
22
+ "extensions": [
23
+ "./src/index.ts"
24
+ ]
25
+ },
26
+ "peerDependencies": {
27
+ "@earendil-works/pi-coding-agent": "*",
28
+ "@earendil-works/pi-ai": "*"
29
+ }
30
30
  }
@@ -238,7 +238,7 @@ export function registerCrofAiProvider(pi: ExtensionAPI): void {
238
238
  pi.registerProvider(PROVIDER, {
239
239
  name: "CrofAi",
240
240
  baseUrl: BASE_URL,
241
- apiKey: "CROFAI_API_KEY",
241
+ apiKey: "$CROFAI_API_KEY",
242
242
  api: "openai-completions",
243
243
  authHeader: true,
244
244
  models: MODELS,