You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/api/core/plugin/manager/tool.py

9 lines
307 B
Python

from core.plugin.manager.base import BasePluginManager
class PluginToolManager(BasePluginManager):
def fetch_tool_providers(self, asset_id: str) -> list[str]:
"""
Fetch tool providers for the given asset.
"""
response = self._request('GET', f'/plugin/asset/{asset_id}')