You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,43 @@ The plugins are organized by type within the `plugins/` directory:
13
13
-`gemini_manifold_companion.py`: A companion filter for "Gemini Manifold google_genai" pipe providing enhanced functionality, such as Google Search grounding. See the [Detailed Documentation](docs/plugins/filters/gemini_manifold_companion.md) for more information.
14
14
-`system_prompt_injector.py`: Allows changing chat options like system prompt and temperature from the chatbox. It would pair nicely with Prompts feature Open WebUI offers.
15
15
16
+
## Installation/Updating
17
+
18
+
### Option 1: Manual (Copy-Paste)
19
+
1. Open your Open WebUI instance and navigate to **Admin Panel** -> **Functions** -> **New Function** or click on a single one if you want to update it.
20
+
2. Copy the entire content of the desired `.py` file from this repo and paste it into the editor.
21
+
3.**CRITICAL:** Ensure the `id` field in the Open WebUI interface matches the `id` defined in the file's frontmatter (docstring). Some logic within these plugins depends on these IDs being exact.
22
+
23
+
*Example from `gemini_manifold.py`:*
24
+
```python
25
+
"""
26
+
title: Gemini Manifold google_genai
27
+
id: gemini_manifold_google_genai
28
+
...
29
+
"""
30
+
```
31
+
32
+
### Option 2: Automated (One-Time Sync)
33
+
Use the included utility script to automatically create/update multiple functions at once via the Open WebUI API.
34
+
35
+
1.**Clone the repo:**`git clone https://github.com/suurt8ll/open_webui_functions.git`
36
+
2.**Configure:** Copy `dev/.env.install.example` to `dev/.env.install`.
37
+
- Set `ONE_TIME_RUN=true`.
38
+
- Set `API_KEY`, [this doc page](https://docs.openwebui.com/reference/monitoring/#authentication-setup-for-api-key-) explains how to get it.
39
+
- List the files you want to install in `FILEPATHS`.
0 commit comments