We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb62b5a commit a9484afCopy full SHA for a9484af
libs/core/langchain_core/messages/content_blocks.py
@@ -147,7 +147,7 @@ def convert_to_openai_data_block(block: dict) -> dict:
147
raise ValueError(err)
148
file["filename"] = block.get(
149
"filename",
150
- _generate_fallback_filename(mime_type), # type: ignore[arg-type]
+ _generate_fallback_filename(mime_type),
151
)
152
formatted_block = {"type": "file", "file": file}
153
elif block["source_type"] == "id":
0 commit comments