Feat/workflow phase2 (#4687)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from core.tools.entities.values import ToolLabelEnum
|
||||
from core.tools.provider.builtin.dingtalk.tools.dingtalk_group_bot import DingTalkGroupBotTool
|
||||
from core.tools.provider.builtin_tool_provider import BuiltinToolProviderController
|
||||
|
||||
@@ -6,3 +7,8 @@ class DingTalkProvider(BuiltinToolProviderController):
|
||||
def _validate_credentials(self, credentials: dict) -> None:
|
||||
DingTalkGroupBotTool()
|
||||
pass
|
||||
|
||||
def _get_tool_labels(self) -> list[ToolLabelEnum]:
|
||||
return [
|
||||
ToolLabelEnum.SOCIAL
|
||||
]
|
||||
Reference in New Issue
Block a user