We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
message
prepare_message
1 parent 42b3ddf commit 5e4c85aCopy full SHA for 5e4c85a
1 file changed
basilisk/provider_engine/base_engine.py
@@ -86,6 +86,8 @@ def prepare_message_request(self, message: Message) -> Any:
86
Returns:
87
The prepared message in provider-specific format.
88
"""
89
+ if not isinstance(message, Message):
90
+ return
91
for attachment in message.attachments:
92
if attachment.mime_type not in self.supported_attachment_formats:
93
raise ValueError(
0 commit comments