Browse Source

fix: test run custom tool raise error (#12178)

tags/0.15.0
非法操作 10 months ago
parent
commit
ead4b34127
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      api/services/tools/api_tools_manage_service.py

+ 1
- 1
api/services/tools/api_tools_manage_service.py View File

@@ -425,7 +425,7 @@ class ApiToolManageService:
"tenant_id": tenant_id,
}
)
result = tool.validate_credentials(credentials, parameters)
result = runtime_tool.validate_credentials(credentials, parameters)
except Exception as e:
return {"error": str(e)}


Loading…
Cancel
Save