@elizaos/plugin-nearai 2.0.3-beta.4 → 2.0.3-beta.5
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 +4 -4
- package/package.json +7 -7
- package/registry-entry.json +4 -4
package/README.md
CHANGED
|
@@ -19,13 +19,13 @@ eliza plugins install @elizaos/plugin-nearai
|
|
|
19
19
|
| `NEARAI_API_KEY` | Yes | - | NEAR AI API key (not needed in browser; use a proxy) |
|
|
20
20
|
| `NEARAI_BASE_URL` | No | `https://cloud-api.near.ai/v1` | OpenAI-compatible API base URL (Node only) |
|
|
21
21
|
| `NEARAI_BROWSER_BASE_URL` | No | - | Proxy base URL for browser builds (omit API key in-browser) |
|
|
22
|
-
| `NEARAI_SMALL_MODEL` | No | `
|
|
23
|
-
| `NEARAI_LARGE_MODEL` | No | `
|
|
22
|
+
| `NEARAI_SMALL_MODEL` | No | `google/gemma-4-31B-it` | Small model id |
|
|
23
|
+
| `NEARAI_LARGE_MODEL` | No | `google/gemma-4-31B-it` | Large model id |
|
|
24
24
|
| `NEARAI_EXPERIMENTAL_TELEMETRY` | No | `false` | Set `true` to enable Vercel AI SDK telemetry |
|
|
25
25
|
|
|
26
26
|
Model ids come from the public NEAR AI catalog at
|
|
27
|
-
`https://cloud-api.near.ai/v1/
|
|
28
|
-
|
|
27
|
+
`https://cloud-api.near.ai/v1/models`. The default model was selected from
|
|
28
|
+
ready TEE-verifiable Gemma text models in that catalog.
|
|
29
29
|
|
|
30
30
|
## Usage
|
|
31
31
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-nearai",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/node/index.node.js",
|
|
6
6
|
"module": "dist/node/index.node.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"sideEffects": false,
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@ai-sdk/openai-compatible": "^2.0.51",
|
|
60
|
-
"@elizaos/core": "2.0.3-beta.
|
|
60
|
+
"@elizaos/core": "2.0.3-beta.5",
|
|
61
61
|
"ai": "^6.0.23"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"scripts": {
|
|
71
71
|
"dev": "bun run build.ts --watch",
|
|
72
|
-
"clean": "rm
|
|
72
|
+
"clean": "node ../../packages/scripts/rm-path-recursive.mjs dist .turbo .turbo-tsconfig.json tsconfig.tsbuildinfo",
|
|
73
73
|
"format": "bunx @biomejs/biome format --write .",
|
|
74
74
|
"format:check": "bunx @biomejs/biome format .",
|
|
75
75
|
"lint": "bunx @biomejs/biome check --write --unsafe .",
|
|
@@ -103,14 +103,14 @@
|
|
|
103
103
|
"type": "string",
|
|
104
104
|
"description": "Override the default NEAR AI small model identifier.",
|
|
105
105
|
"required": false,
|
|
106
|
-
"default": "
|
|
106
|
+
"default": "google/gemma-4-31B-it",
|
|
107
107
|
"sensitive": false
|
|
108
108
|
},
|
|
109
109
|
"NEARAI_LARGE_MODEL": {
|
|
110
110
|
"type": "string",
|
|
111
111
|
"description": "Override the default NEAR AI large model identifier.",
|
|
112
112
|
"required": false,
|
|
113
|
-
"default": "
|
|
113
|
+
"default": "google/gemma-4-31B-it",
|
|
114
114
|
"sensitive": false
|
|
115
115
|
},
|
|
116
116
|
"NEARAI_EXPERIMENTAL_TELEMETRY": {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
"peerDependencies": {
|
|
143
|
-
"@elizaos/core": "2.0.3-beta.
|
|
143
|
+
"@elizaos/core": "2.0.3-beta.5"
|
|
144
144
|
},
|
|
145
|
-
"gitHead": "
|
|
145
|
+
"gitHead": "ff6157011c9459670021cc28a6797592a78b8817"
|
|
146
146
|
}
|
package/registry-entry.json
CHANGED
|
@@ -28,20 +28,20 @@
|
|
|
28
28
|
"type": "string",
|
|
29
29
|
"required": false,
|
|
30
30
|
"sensitive": false,
|
|
31
|
-
"default": "
|
|
31
|
+
"default": "google/gemma-4-31B-it",
|
|
32
32
|
"label": "Small Model",
|
|
33
33
|
"help": "Override the default NEAR AI small text model identifier.",
|
|
34
|
-
"placeholder": "e.g.,
|
|
34
|
+
"placeholder": "e.g., google/gemma-4-31B-it",
|
|
35
35
|
"advanced": false
|
|
36
36
|
},
|
|
37
37
|
"NEARAI_LARGE_MODEL": {
|
|
38
38
|
"type": "string",
|
|
39
39
|
"required": false,
|
|
40
40
|
"sensitive": false,
|
|
41
|
-
"default": "
|
|
41
|
+
"default": "google/gemma-4-31B-it",
|
|
42
42
|
"label": "Large Model",
|
|
43
43
|
"help": "Override the default NEAR AI large text model identifier.",
|
|
44
|
-
"placeholder": "e.g.,
|
|
44
|
+
"placeholder": "e.g., google/gemma-4-31B-it",
|
|
45
45
|
"advanced": false
|
|
46
46
|
},
|
|
47
47
|
"NEARAI_EXPERIMENTAL_TELEMETRY": {
|