mirror of
https://github.com/open-webui/docs
synced 2025-06-16 11:28:36 +00:00
fix: indentation
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
parent
7253830b10
commit
de65056c07
@ -27,7 +27,7 @@ class Filter:
|
|||||||
default=4,
|
default=4,
|
||||||
description="A valve controlling a numberical value"
|
description="A valve controlling a numberical value"
|
||||||
# required=False, # you can enforce fields using True
|
# required=False, # you can enforce fields using True
|
||||||
)
|
)
|
||||||
# To give the user the choice between multiple strings, you can use Literal from typing:
|
# To give the user the choice between multiple strings, you can use Literal from typing:
|
||||||
choice_option: Literal["choiceA", "choiceB"] = Field(
|
choice_option: Literal["choiceA", "choiceB"] = Field(
|
||||||
default="choiceA",
|
default="choiceA",
|
||||||
@ -36,10 +36,10 @@ class Filter:
|
|||||||
priority: int = Field(
|
priority: int = Field(
|
||||||
default=0,
|
default=0,
|
||||||
description="Priority level for the filter operations. Lower values are passed through first"
|
description="Priority level for the filter operations. Lower values are passed through first"
|
||||||
)
|
)
|
||||||
# The priority field is optional but if present will be used to
|
# The priority field is optional but if present will be used to
|
||||||
# order the Filters.
|
# order the Filters.
|
||||||
pass
|
pass
|
||||||
# Note that this 'pass' helps for parsing and is recommended.
|
# Note that this 'pass' helps for parsing and is recommended.
|
||||||
|
|
||||||
# UserValves are defined the same way.
|
# UserValves are defined the same way.
|
||||||
|
Loading…
Reference in New Issue
Block a user