@elizaos/plugin-openrouter 1.0.0-beta.55 → 1.0.1
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 +41 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/plugin-openrouter",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@ai-sdk/openai": "^1.3.22",
|
|
26
26
|
"@ai-sdk/ui-utils": "1.2.11",
|
|
27
|
-
"@elizaos/core": "^1.0.0
|
|
27
|
+
"@elizaos/core": "^1.0.0",
|
|
28
28
|
"@openrouter/ai-sdk-provider": "^0.4.5",
|
|
29
29
|
"ai": "^4.3.15",
|
|
30
30
|
"undici": "^7.9.0"
|
|
@@ -55,6 +55,45 @@
|
|
|
55
55
|
"OPENROUTER_API_KEY": {
|
|
56
56
|
"type": "string",
|
|
57
57
|
"description": "API key for the service"
|
|
58
|
+
},
|
|
59
|
+
"OPENROUTER_BASE_URL": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"description": "Custom base URL for the OpenRouter API endpoint",
|
|
62
|
+
"required": false,
|
|
63
|
+
"default": "https://openrouter.ai/api/v1"
|
|
64
|
+
},
|
|
65
|
+
"OPENROUTER_SMALL_MODEL": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "Specific small model to use for TEXT_SMALL and OBJECT_SMALL tasks; overrides SMALL_MODEL when provided",
|
|
68
|
+
"required": false
|
|
69
|
+
},
|
|
70
|
+
"OPENROUTER_LARGE_MODEL": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"description": "Specific large model to use for TEXT_LARGE and OBJECT_LARGE tasks; overrides LARGE_MODEL when provided",
|
|
73
|
+
"required": false
|
|
74
|
+
},
|
|
75
|
+
"OPENROUTER_IMAGE_MODEL": {
|
|
76
|
+
"type": "string",
|
|
77
|
+
"description": "Specific image model to use for IMAGE_DESCRIPTION tasks; overrides IMAGE_MODEL when provided",
|
|
78
|
+
"required": false
|
|
79
|
+
},
|
|
80
|
+
"SMALL_MODEL": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Fallback small model used when OPENROUTER_SMALL_MODEL is not set",
|
|
83
|
+
"required": false,
|
|
84
|
+
"default": "google/gemini-flash"
|
|
85
|
+
},
|
|
86
|
+
"LARGE_MODEL": {
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Fallback large model used when OPENROUTER_LARGE_MODEL is not set",
|
|
89
|
+
"required": false,
|
|
90
|
+
"default": "google/gemini-pro"
|
|
91
|
+
},
|
|
92
|
+
"IMAGE_MODEL": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"description": "Fallback image model used when OPENROUTER_IMAGE_MODEL is not set",
|
|
95
|
+
"required": false,
|
|
96
|
+
"default": "x-ai/grok-2-vision-1212"
|
|
58
97
|
}
|
|
59
98
|
}
|
|
60
99
|
}
|