chore: docstring not match the function parameter (#17162)

This commit is contained in:
非法操作 2025-03-31 13:19:15 +08:00 • committed by GitHub
commit 44f911a0a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 60 additions and 95 deletions

View file

@ -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(