fix: correct issue with change api key to be of type str (#5716)
* change api key to be of type str * change SecretStr type to new way import * revert package-lock changes - Removed license information from several dependencies in package-lock.json for cleaner output. - Updated versions of various dependencies, including @babel packages and chakra-ui components, to their latest compatible versions. - Ensured consistency in dependency versions across the project to maintain stability and compatibility. --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com> Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
This commit is contained in:
parent
6c79a3d6aa
commit
bf57f058c7
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@ from urllib.parse import urlparse
|
|||
|
||||
import requests
|
||||
from langchain_community.embeddings.huggingface import HuggingFaceInferenceAPIEmbeddings
|
||||
from pydantic.v1.types import SecretStr
|
||||
from pydantic import SecretStr
|
||||
from tenacity import retry, stop_after_attempt, wait_fixed
|
||||
|
||||
from langflow.base.embeddings.model import LCEmbeddingsModel
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue