mirror of
https://github.com/open-webui/docs
synced 2025-05-19 10:52:14 +00:00
Merge branch 'open-webui:main' into webui_secret_key_multinode
This commit is contained in:
commit
91d91062f9
@ -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
|
||||
|
||||
|
@ -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:
|
||||
@ -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
|
||||
|
||||
|
@ -2205,3 +2205,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.
|
||||
|
Loading…
Reference in New Issue
Block a user