Skip to content

The agent engineering platform.

community: update base_o365.py (#29657)

Ikko Eltociear Ashimine0d45ad57c1bd
diff --git a/libs/community/langchain_community/document_loaders/base_o365.py b/libs/community/langchain_community/document_loaders/base_o365.py
index 4cd341fadd..bbc07b504a 100644
--- a/libs/community/langchain_community/document_loaders/base_o365.py
+++ b/libs/community/langchain_community/document_loaders/base_o365.py
@@ -60,7 +60,7 @@ def fetch_mime_types(file_types: Sequence[str]) -> Dict[str, str]:
if mime_type:
mime_types_mapping[ext] = mime_type
else:
- raise ValueError(f"Unknown mimetype of extention {ext}")
+ raise ValueError(f"Unknown mimetype of extension {ext}")
return mime_types_mapping