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
be93cd8a05
commit
4887806c22
@ -50,7 +50,7 @@ class Filter:
|
||||
pass
|
||||
|
||||
# The inlet method is only used for Filter but the __user__ handling is the same
|
||||
def inlet(body: dict, __user__: dict):
|
||||
def inlet(self, body: dict, __user__: dict):
|
||||
# Because UserValves are defined per user they are only available
|
||||
# on use.
|
||||
# Note that although __user__ is a dict, __user__["valves"] is a
|
||||
|
@ -137,7 +137,7 @@ class Tools:
|
||||
pass
|
||||
|
||||
# The __user__ handling is the same for Filters, Tools and Functions.
|
||||
def test_the_tool(message: str, __user__: dict):
|
||||
def test_the_tool(self, message: str, __user__: dict):
|
||||
"""
|
||||
This is a test tool. If the user asks you to test the tools, put any
|
||||
string you want in the message argument.
|
||||
|
Loading…
Reference in New Issue
Block a user