mirror of https://github.com/langgenius/dify.git
fix: test run custom tool raise error (#12178)
This commit is contained in:
parent
72ae414da4
commit
ead4b34127
|
|
@ -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…
Reference in New Issue