feat(infra): langchain docs MCP (#33636)

This commit is contained in:
Mason Daugherty authored and GitHub committed 2025-10-22 11:50:35 -04:00
1 parent df46c82ae2
commit db7f2db1ae
2 files changed
+9 -1

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
{
"mcpServers": {
"docs-langchain": {
"type": "http",
"url": "https://docs.langchain.com/mcp"
}
}
}
@@ -170,7 +170,7 @@ class TextSplitter(BaseDocumentTransformer, ABC):
def from_huggingface_tokenizer(
cls, tokenizer: PreTrainedTokenizerBase, **kwargs: Any
) -> TextSplitter:
"""Text splitter that uses HuggingFace tokenizer to count length."""
"""Text splitter that uses Hugging Face tokenizer to count length."""
if not _HAS_TRANSFORMERS:
msg = (
"Could not import transformers python package. "