mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
fix: typo
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
parent
6b7e1e561b
commit
12acecfd0f
@ -13,10 +13,10 @@ Valves are configurable by admins alone via the Tools or Functions menus. On the
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
# Define and Valves
|
||||
Class Filter:
|
||||
class Filter:
|
||||
# Notice the current indentation: Valves and UserValves must be declared as
|
||||
# attributes of a Tools, Filter or Pipe class. Here we take the
|
||||
example of a Filter.
|
||||
# example of a Filter.
|
||||
class Valves(BaseModel):
|
||||
# Valves and UserValves inherit from pydantic's BaseModel. This
|
||||
# enables complex use cases like model validators etc.
|
||||
|
@ -106,10 +106,10 @@ Valves are configurable by admins alone via the Tools or Functions menus. On the
|
||||
from pydantic import BaseModel, Field
|
||||
|
||||
# Define and Valves
|
||||
Class Tool:
|
||||
class Tool:
|
||||
# Notice the current indentation: Valves and UserValves must be declared as
|
||||
# attributes of a Tools, Filter or Pipe class. Here we take the
|
||||
example of a Tool.
|
||||
# example of a Tool.
|
||||
class Valves(BaseModel):
|
||||
# Valves and UserValves inherit from pydantic's BaseModel. This
|
||||
# enables complex use cases like model validators etc.
|
||||
|
Loading…
Reference in New Issue
Block a user