fix: drop some type fixme (#20344)
This commit is contained in:
parent
9b47f9f786
commit
5a991295e0
10 changed files with 43 additions and 45 deletions
|
|
@ -66,7 +66,6 @@ class ToolFileMessageTransformer:
|
|||
if not isinstance(message.message, ToolInvokeMessage.BlobMessage):
|
||||
raise ValueError("unexpected message type")
|
||||
|
||||
# FIXME: should do a type check here.
|
||||
assert isinstance(message.message.blob, bytes)
|
||||
tool_file_manager = ToolFileManager()
|
||||
file = tool_file_manager.create_file_by_raw(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue