Merge branch 'feat/mcp' into deploy/dev

This commit is contained in:
Novice
2025-07-01 14:07:36 +08:00
2 changed files with 2 additions and 2 deletions

View File

@ -93,7 +93,7 @@ class MCPToolManageService:
)
db.session.add(mcp_tool)
db.session.commit()
return ToolTransformService.mcp_provider_to_user_provider(mcp_tool)
return ToolTransformService.mcp_provider_to_user_provider(mcp_tool, for_list=True)
@staticmethod
def retrieve_mcp_tools(tenant_id: str, for_list: bool = False) -> list[ToolProviderApiEntity]: