Signed-off-by: thiswillbeyourgithub
<26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
thiswillbeyourgithub 2025-03-15 18:58:04 +01:00
parent b41e1c2f67
commit b97e0ffeb7
2 changed files with 4 additions and 4 deletions

View File

@ -4,10 +4,10 @@
Valves and UserValves are used to allow users to provide dynamic details such as an API key or a configuration option. These will create a fillable field or a bool switch in the GUI menu for the given function. Valves and UserValves are used to allow users to provide dynamic details such as an API key or a configuration option. These will create a fillable field or a bool switch in the GUI menu for the given function.
+Valves are configurable by admins alone via the Tools or Functions menus. On the other hand UserValves are configurable by any users directly from a chat session. Valves are configurable by admins alone via the Tools or Functions menus. On the other hand UserValves are configurable by any users directly from a chat session.
<details> <details>
+<summary>Commented example</summary> <summary>Commented example</summary>
``` ```
from pydantic import BaseModel, Field from pydantic import BaseModel, Field

View File

@ -95,12 +95,12 @@ Each tool must have type hints for arguments. As of version OpenWebUI version 0.
### Valves and UserValves - (optional, but HIGHLY encouraged) ### Valves and UserValves - (optional, but HIGHLY encouraged)
+Valves and UserValves are used to allow users to provide dynamic details such as an API key or a configuration option. These will create a fillable field or a bool switch in the GUI menu for the given function. Valves and UserValves are used to allow users to provide dynamic details such as an API key or a configuration option. These will create a fillable field or a bool switch in the GUI menu for the given function.
Valves are configurable by admins alone and UserValves are configurable by any users. Valves are configurable by admins alone and UserValves are configurable by any users.
<details> <details>
+<summary>Commented example</summary> <summary>Commented example</summary>
``` ```
from pydantic import BaseModel, Field from pydantic import BaseModel, Field