@elizaos/plugin-ollama 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 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-ollama",
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",
@@ -43,37 +43,53 @@
43
43
  "agentConfig": {
44
44
  "pluginType": "elizaos:plugin:1.0.0",
45
45
  "pluginParameters": {
46
- "OLLAMA_SMALL_MODEL": {
46
+ "OLLAMA_API_ENDPOINT": {
47
47
  "type": "string",
48
- "description": "The name of the small Ollama model to use"
48
+ "description": "Base URL for the Ollama API that overrides the default http://localhost:11434/api endpoint.",
49
+ "required": false,
50
+ "default": "http://localhost:11434/api",
51
+ "sensitive": false
49
52
  },
50
- "OLLAMA_LARGE_MODEL": {
53
+ "OLLAMA_SMALL_MODEL": {
51
54
  "type": "string",
52
- "description": "The name of the large Ollama model to use"
55
+ "description": "Name or tag of the small-sized Ollama model to use for text and object generation.",
56
+ "required": false,
57
+ "default": "gemma3:latest",
58
+ "sensitive": false
53
59
  },
54
60
  "OLLAMA_MEDIUM_MODEL": {
55
61
  "type": "string",
56
- "description": "The name of the medium Ollama model to use"
62
+ "description": "Name or tag of the medium-sized Ollama model (defined in config but not currently used).",
63
+ "required": false,
64
+ "sensitive": false
57
65
  },
58
- "OLLAMA_EMBEDDING_MODEL": {
66
+ "OLLAMA_LARGE_MODEL": {
59
67
  "type": "string",
60
- "description": "The name of the embedding Ollama model to use"
68
+ "description": "Name or tag of the large-sized Ollama model to use for text and object generation.",
69
+ "required": false,
70
+ "default": "gemma3:latest",
71
+ "sensitive": false
61
72
  },
62
- "OLLAMA_API_ENDPOINT": {
73
+ "OLLAMA_EMBEDDING_MODEL": {
63
74
  "type": "string",
64
- "description": "The URL of the Ollama API"
75
+ "description": "Name or tag of the Ollama model used to generate text embeddings.",
76
+ "required": false,
77
+ "default": "nomic-embed-text",
78
+ "sensitive": false
65
79
  },
66
80
  "SMALL_MODEL": {
67
81
  "type": "string",
68
- "description": "Alternative small model name used if OLLAMA_SMALL_MODEL is not provided.",
82
+ "description": "Fallback environment variable for specifying a small model if OLLAMA_SMALL_MODEL is not set.",
69
83
  "required": false,
70
- "default": "gemma3:latest"
84
+ "default": "gemma3:latest",
85
+ "sensitive": false
71
86
  },
72
87
  "LARGE_MODEL": {
73
88
  "type": "string",
74
- "description": "Alternative large model name used if OLLAMA_LARGE_MODEL is not provided.",
89
+ "description": "Fallback environment variable for specifying a large model if OLLAMA_LARGE_MODEL is not set.",
75
90
  "required": false,
76
- "default": "gemma3:latest"
91
+ "default": "gemma3:latest",
92
+ "sensitive": false
77
93
  }
78
94
  }
79
95
  },