chore: docstring not match the function parameter (#17162)
This commit is contained in:
@@ -145,7 +145,6 @@ class ApiToolProviderController(ToolProviderController):
|
||||
"""
|
||||
fetch tools from database
|
||||
|
||||
:param user_id: the user id
|
||||
:param tenant_id: the tenant id
|
||||
:return: the tools
|
||||
"""
|
||||
|
||||
@@ -35,9 +35,7 @@ class ApiTool(Tool):
|
||||
|
||||
def fork_tool_runtime(self, runtime: ToolRuntime):
|
||||
"""
|
||||
fork a new tool with meta data
|
||||
|
||||
:param meta: the meta data of a tool call processing, tenant_id is required
|
||||
fork a new tool with metadata
|
||||
:return: the new tool
|
||||
"""
|
||||
if self.api_bundle is None:
|
||||
|
||||
Reference in New Issue
Block a user