refac/fix: tool payload
This commit is contained in:
1 parent
f47a100730
commit
00084c6ca6
2 files changed
-2
No files matched your search
@@ -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