fix: typo

Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
thiswillbeyourgithub 2025-03-09 08:33:49 +01:00
parent 6b7e1e561b
commit 12acecfd0f
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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.