Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: get tool provider (#13958)
Yeuoly15a56f705f8a
diff --git a/api/core/plugin/entities/plugin.py b/api/core/plugin/entities/plugin.pyindex 632c9727b0c..732e10c1913 100644--- a/api/core/plugin/entities/plugin.py+++ b/api/core/plugin/entities/plugin.py@@ -180,7 +180,7 @@ class ToolProviderID(GenericProviderID):def __init__(self, value: str, is_hardcoded: bool = False) -> None:super().__init__(value, is_hardcoded)if self.organization == "langgenius":- if self.provider_name in ["jina", "siliconflow"]:+ if self.provider_name in ["jina", "siliconflow", "stepfun"]:self.plugin_name = f"{self.provider_name}_tool"diff --git a/api/core/plugin/manager/tool.py b/api/core/plugin/manager/tool.pyindex 23a390f4aaf..4c3abd3acf7 100644--- a/api/core/plugin/manager/tool.py+++ b/api/core/plugin/manager/tool.py@@ -3,7 +3,7 @@ from typing import Any, Optionalfrom pydantic import BaseModel-from core.plugin.entities.plugin import GenericProviderID+from core.plugin.entities.plugin import GenericProviderID, ToolProviderIDfrom core.plugin.entities.plugin_daemon import PluginBasicBooleanResponse, PluginToolProviderEntityfrom core.plugin.manager.base import BasePluginManagerfrom core.tools.entities.tool_entities import ToolInvokeMessage, ToolParameter@@ -45,7 +45,7 @@ class PluginToolManager(BasePluginManager):"""Fetch tool provider for the given tenant and plugin."""- tool_provider_id = GenericProviderID(provider)+ tool_provider_id = ToolProviderID(provider)def transformer(json_response: dict[str, Any]) -> dict:data = json_response.get("data")