chore: docstring not match the function parameter (#17162)
This commit is contained in:
@@ -29,9 +29,7 @@ class Tool(ABC):
|
||||
|
||||
def fork_tool_runtime(self, runtime: ToolRuntime) -> "Tool":
|
||||
"""
|
||||
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
|
||||
"""
|
||||
return self.__class__(
|
||||
@@ -206,6 +204,7 @@ class Tool(ABC):
|
||||
create a blob message
|
||||
|
||||
:param blob: the blob
|
||||
:param meta: the meta info of blob object
|
||||
:return: the blob message
|
||||
"""
|
||||
return ToolInvokeMessage(
|
||||
|
Reference in New Issue
Block a user