dify
This commit is contained in:
8
dify/api/services/tools/tool_labels_service.py
Normal file
8
dify/api/services/tools/tool_labels_service.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from core.tools.entities.tool_entities import ToolLabel
|
||||
from core.tools.entities.values import default_tool_labels
|
||||
|
||||
|
||||
class ToolLabelsService:
|
||||
@classmethod
|
||||
def list_tool_labels(cls) -> list[ToolLabel]:
|
||||
return default_tool_labels
|
||||
Reference in New Issue
Block a user