mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
refac
This commit is contained in:
parent
610680ac14
commit
947b77db24
@ -101,9 +101,6 @@ def get_tools(
|
|||||||
|
|
||||||
def make_tool_function(function_name, token, tool_server_data):
|
def make_tool_function(function_name, token, tool_server_data):
|
||||||
async def tool_function(**kwargs):
|
async def tool_function(**kwargs):
|
||||||
print(
|
|
||||||
f"Executing tool function {function_name} with params: {kwargs}"
|
|
||||||
)
|
|
||||||
return await execute_tool_server(
|
return await execute_tool_server(
|
||||||
token=token,
|
token=token,
|
||||||
url=tool_server_data["url"],
|
url=tool_server_data["url"],
|
||||||
|
Loading…
Reference in New Issue
Block a user