feat: install Ollama prerequisites during plugin install
This commit is contained in:
@@ -55,7 +55,7 @@ This plugin is installable from the Hermes dashboard Plugin Section using the re
|
||||
https://gitea.beyondcloud.solutions/dennii/Hermes-Ollama_Models.git
|
||||
```
|
||||
|
||||
In Hermes Dashboard, open **Plugins**, choose **Install from repository**, enter the URL above, and install. The repository contains the root `plugin.yaml`, dashboard manifest, backend API, compiled frontend bundle, stylesheet, and dependency declaration required by the plugin installer. After installation or an update, restart only the Hermes dashboard service if requested by the installer.
|
||||
In Hermes Dashboard, open **Plugins**, choose **Install from repository**, enter the URL above, and install. The repository contains the root `plugin.yaml`, dashboard manifest, backend API, compiled frontend bundle, stylesheet, and an opt-in prerequisite declaration. On Linux, the Hermes installer will verify Ollama, install it with the official Ollama installer when missing, and install the plugin's `pypdf` dependency before committing the plugin into `~/.hermes/plugins/`. Ollama installation needs root or passwordless `sudo`; if the host cannot provide that, the plugin install stops without enabling a partially configured plugin. After installation or an update, restart only the Hermes dashboard service if requested by the installer.
|
||||
|
||||
## Security limits
|
||||
|
||||
@@ -67,7 +67,7 @@ In Hermes Dashboard, open **Plugins**, choose **Install from repository**, enter
|
||||
|
||||
## Dependency
|
||||
|
||||
Install the plugin's Python dependency in the Hermes runtime environment:
|
||||
The Hermes Plugin Section installs the declared `pypdf` dependency automatically before the plugin is committed. For a manual checkout, install it with:
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user