We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 181601f commit 8639812Copy full SHA for 8639812
libs/partners/huggingface/langchain_huggingface/embeddings/huggingface_endpoint.py
@@ -77,13 +77,13 @@ def validate_environment(self) -> Self:
77
client = InferenceClient(
78
model=self.model,
79
token=huggingfacehub_api_token,
80
- provider=self.provider,
+ provider=self.provider, # type: ignore[arg-type]
81
)
82
83
async_client = AsyncInferenceClient(
84
85
86
87
88
89
if self.task not in VALID_TASKS:
0 commit comments