@elizaos/plugin-openrouter 1.0.1 → 1.0.3

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.
Files changed (1) hide show
  1. package/package.json +30 -19
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-openrouter",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -54,46 +54,57 @@
54
54
  "pluginParameters": {
55
55
  "OPENROUTER_API_KEY": {
56
56
  "type": "string",
57
- "description": "API key for the service"
57
+ "description": "API key used by the OpenRouter plugin for authenticating requests.",
58
+ "required": false,
59
+ "sensitive": true
60
+ },
61
+ "OPENROUTER_IMAGE_MODEL": {
62
+ "type": "string",
63
+ "description": "Overrides the default image description model used by the OpenRouter plugin.",
64
+ "required": false,
65
+ "sensitive": false
58
66
  },
59
67
  "OPENROUTER_BASE_URL": {
60
68
  "type": "string",
61
- "description": "Custom base URL for the OpenRouter API endpoint",
69
+ "description": "Base URL for the OpenRouter API endpoints.",
62
70
  "required": false,
63
- "default": "https://openrouter.ai/api/v1"
71
+ "default": "https://openrouter.ai/api/v1",
72
+ "sensitive": false
64
73
  },
65
74
  "OPENROUTER_SMALL_MODEL": {
66
75
  "type": "string",
67
- "description": "Specific small model to use for TEXT_SMALL and OBJECT_SMALL tasks; overrides SMALL_MODEL when provided",
68
- "required": false
76
+ "description": "Overrides the default small language model used for text/object generation.",
77
+ "required": false,
78
+ "default": "google/gemini-2.0-flash-001",
79
+ "sensitive": false
69
80
  },
70
81
  "OPENROUTER_LARGE_MODEL": {
71
82
  "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
83
+ "description": "Overrides the default large language model used for text/object generation.",
84
+ "required": false,
85
+ "default": "google/gemini-2.5-flash-preview-05-20",
86
+ "sensitive": false
79
87
  },
80
88
  "SMALL_MODEL": {
81
89
  "type": "string",
82
- "description": "Fallback small model used when OPENROUTER_SMALL_MODEL is not set",
90
+ "description": "General fallback environment variable for the small model name when OPENROUTER_SMALL_MODEL is not set.",
83
91
  "required": false,
84
- "default": "google/gemini-flash"
92
+ "default": "google/gemini-2.0-flash-001",
93
+ "sensitive": false
85
94
  },
86
95
  "LARGE_MODEL": {
87
96
  "type": "string",
88
- "description": "Fallback large model used when OPENROUTER_LARGE_MODEL is not set",
97
+ "description": "General fallback environment variable for the large model name when OPENROUTER_LARGE_MODEL is not set.",
89
98
  "required": false,
90
- "default": "google/gemini-pro"
99
+ "default": "google/gemini-2.5-flash-preview-05-20",
100
+ "sensitive": false
91
101
  },
92
102
  "IMAGE_MODEL": {
93
103
  "type": "string",
94
- "description": "Fallback image model used when OPENROUTER_IMAGE_MODEL is not set",
104
+ "description": "General fallback environment variable for the image model name when OPENROUTER_IMAGE_MODEL is not set.",
95
105
  "required": false,
96
- "default": "x-ai/grok-2-vision-1212"
106
+ "default": "x-ai/grok-2-vision-1212",
107
+ "sensitive": false
97
108
  }
98
109
  }
99
110
  }