mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 20:55:53 +08:00
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,
|
"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…
x
Reference in New Issue
Block a user