mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
610680ac14
commit
947b77db24
1 changed files with 0 additions and 3 deletions
|
|
@ -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 a new issue