community[patch]: fix huggingface pydantic 2 init (#26286)

This commit is contained in:
ccurme
2024-09-10 18:15:39 -04:00
committed by GitHub
parent 287911adbc
commit e2c8690e7f
5 changed files with 10 additions and 10 deletions

View File

@@ -30,8 +30,8 @@ class HuggingFaceEndpointEmbeddings(BaseModel, Embeddings):
)
"""
client: Any = None
async_client: Any = None
client: Any = None #: :meta private:
async_client: Any = None #: :meta private:
model: Optional[str] = None
"""Model name to use."""
repo_id: Optional[str] = None