The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: fix typos in some files (#33867)
Lê Nam Khánh2fe0369049bf
diff --git a/libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynb b/libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynbindex 7f7f58b15c..c77e495ad7 100644--- a/libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynb+++ b/libs/cli/langchain_cli/integration_template/docs/vectorstores.ipynb@@ -295,7 +295,7 @@"source": ["## TODO: Any functionality specific to this vector store\n","\n",- "E.g. creating a persisten database to save to your disk, etc."+ "E.g. creating a persistent database to save to your disk, etc."]},{diff --git a/libs/core/langchain_core/messages/content.py b/libs/core/langchain_core/messages/content.pyindex 4b6a63e95f..568579bc20 100644--- a/libs/core/langchain_core/messages/content.py+++ b/libs/core/langchain_core/messages/content.py@@ -867,7 +867,7 @@ def _get_data_content_block_types() -> tuple[str, ...]:Example: ("image", "video", "audio", "text-plain", "file")Note that old style multimodal blocks type literals with new style blocks.- Speficially, "image", "audio", and "file".+ Specifically, "image", "audio", and "file".See the docstring of `_normalize_messages` in `language_models._utils` for details."""@@ -906,7 +906,7 @@ def is_data_content_block(block: dict) -> bool:# 'text' is checked to support v0 PlainTextContentBlock types# We must guard against new style TextContentBlock which also has 'text' `type`- # by ensuring the presense of `source_type`+ # by ensuring the presence of `source_type`if block["type"] == "text" and "source_type" not in block: # noqa: SIM103 # This is more readablereturn False