fix: test run custom tool raise error (#12178)
This commit is contained in:
parent
72ae414da4
commit
ead4b34127
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ class ApiToolManageService:
|
||||||
"tenant_id": tenant_id,
|
"tenant_id": tenant_id,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
result = tool.validate_credentials(credentials, parameters)
|
result = runtime_tool.validate_credentials(credentials, parameters)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return {"error": str(e)}
|
return {"error": str(e)}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue