chore: docstring not match the function parameter (#17162)
This commit is contained in:
parent
32527b26d5
commit
44f911a0a8
47 changed files with 60 additions and 95 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue