From ec7b0fefbd4b91f04a43165a7a81253e01849f17 Mon Sep 17 00:00:00 2001 From: Ken Geis Date: Thu, 6 Mar 2025 16:11:42 -0800 Subject: [PATCH 1/4] =?UTF-8?q?fix=20tools=20typo=20(withing=E2=86=92withi?= =?UTF-8?q?n)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/features/plugin/tools/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/plugin/tools/index.mdx b/docs/features/plugin/tools/index.mdx index 3b63016..2ee0e14 100644 --- a/docs/features/plugin/tools/index.mdx +++ b/docs/features/plugin/tools/index.mdx @@ -68,7 +68,7 @@ licence: MIT ### Tools Class -Tools have to be defined as methods withing a class called `Tools`, with optional subclasses called `Valves` and `UserValves`, for example: +Tools have to be defined as methods within a class called `Tools`, with optional subclasses called `Valves` and `UserValves`, for example: ```python class Tools: From 55580e3d96e7819f52af858bee7581fc4dfe9ef1 Mon Sep 17 00:00:00 2001 From: Ken Geis Date: Thu, 6 Mar 2025 16:14:30 -0800 Subject: [PATCH 2/4] =?UTF-8?q?fix=20typo(numberical=E2=86=92numerical)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/features/plugin/functions/tab-shared/Common.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/plugin/functions/tab-shared/Common.md b/docs/features/plugin/functions/tab-shared/Common.md index 2679e6d..7769fa6 100644 --- a/docs/features/plugin/functions/tab-shared/Common.md +++ b/docs/features/plugin/functions/tab-shared/Common.md @@ -16,7 +16,7 @@ Valves are configurable by admins alone and UserValves are configurable by any u default=0, description="Priority level for the filter operations." ) test_valve: int = Field( - default=4, description="A valve controlling a numberical value" + default=4, description="A valve controlling a numerical value" ) pass From 20cf658bd9f713ca0bcf0a4054927cfd8577fd92 Mon Sep 17 00:00:00 2001 From: Ken Geis Date: Thu, 6 Mar 2025 16:15:08 -0800 Subject: [PATCH 3/4] =?UTF-8?q?fix=20typo(numberical=E2=86=92numerical)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/features/plugin/tools/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/plugin/tools/index.mdx b/docs/features/plugin/tools/index.mdx index 3b63016..4f58b42 100644 --- a/docs/features/plugin/tools/index.mdx +++ b/docs/features/plugin/tools/index.mdx @@ -109,7 +109,7 @@ Valves are configurable by admins alone and UserValves are configurable by any u default=0, description="Priority level for the filter operations." ) test_valve: int = Field( - default=4, description="A valve controlling a numberical value" + default=4, description="A valve controlling a numerical value" ) pass From b26a4cb818ade03a937c2d30637ecfc5d4bd7f12 Mon Sep 17 00:00:00 2001 From: Nikes Date: Wed, 12 Mar 2025 23:24:43 +0200 Subject: [PATCH 4/4] feat: pip options in tools/functions install requirements --- docs/getting-started/env-configuration.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/getting-started/env-configuration.md b/docs/getting-started/env-configuration.md index 9dd2fe5..c486dff 100644 --- a/docs/getting-started/env-configuration.md +++ b/docs/getting-started/env-configuration.md @@ -2199,3 +2199,17 @@ Open WebUI uses the following environment variables: - Description: Lists domain extensions (or IP addresses) for which the proxy should not be used, separated by commas. For example, setting no_proxy to '.mit.edu' ensures that the proxy is bypassed when accessing documents from MIT. + +### Install required packages + +Open WebUI provides environment variables to customize the pip installation process. Below are the environment variables used by Open WebUI for adjusting package installation behavior: + +#### `PIP_OPTIONS` + +- Type: `str` +- Description: Specifies additional command-line options that pip should use when installing packages. For example, you can include flags such as `--upgrade`, `--user`, or `--no-cache-dir` to control the installation process. + +#### `PIP_PACKAGE_INDEX_OPTIONS` + +- Type: `str` +- Description: Defines custom package index behavior for pip. This can include specifying additional or alternate index URLs (e.g., `--extra-index-url`), authentication credentials, or other parameters to manage how packages are retrieved from different locations.