[GH-ISSUE #3766] [langchain]: pydantic_core._pydantic_core.ValidationError: 1 validation error for HuggingFaceEndpointEmbeddings #2759

Open
opened 2026-06-05 17:26:39 -04:00 by yindo · 1 comment
Owner

Originally created by @a544844 on GitHub (Apr 28, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/3766

Type of issue

issue / bug

Language

Python

Description

pydantic_core._pydantic_core.ValidationError: 1 validation error for HuggingFaceEndpointEmbeddings
Value error, model must be a HuggingFace repo ID, not a URL. [type=value_error, input_value={'model': 'http://localhost:8081'}, input_type=dict]
For further information visit https://errors.pydantic.dev/2.13/v/value_error

Originally created by @a544844 on GitHub (Apr 28, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/3766 ### Type of issue issue / bug ### Language Python ### Description pydantic_core._pydantic_core.ValidationError: 1 validation error for HuggingFaceEndpointEmbeddings Value error, `model` must be a HuggingFace repo ID, not a URL. [type=value_error, input_value={'model': 'http://localhost:8081'}, input_type=dict] For further information visit https://errors.pydantic.dev/2.13/v/value_error
yindo added the langchainexternal labels 2026-06-05 17:26:39 -04:00
Author
Owner

@vivek41-glitch commented on GitHub (May 3, 2026):

Hi! I'm a Python/AI developer with hands-on experience using HuggingFace embeddings and LangChain. I've identified the issue — the docs example passes a URL to the model parameter which should be a HuggingFace repo ID instead. I'd love to fix this. Could I be assigned? Thank you!

<!-- gh-comment-id:4365633289 --> @vivek41-glitch commented on GitHub (May 3, 2026): Hi! I'm a Python/AI developer with hands-on experience using HuggingFace embeddings and LangChain. I've identified the issue — the docs example passes a URL to the model parameter which should be a HuggingFace repo ID instead. I'd love to fix this. Could I be assigned? Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2759