mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac/fix: tool payload
This commit is contained in:
@@ -377,7 +377,6 @@ def convert_openapi_to_tool_payload(openapi_spec):
|
||||
for method, operation in methods.items():
|
||||
if operation.get("operationId"):
|
||||
tool = {
|
||||
"type": "function",
|
||||
"name": operation.get("operationId"),
|
||||
"description": operation.get(
|
||||
"description",
|
||||
|
||||
Reference in New Issue
Block a user