diff --git a/poetry.lock b/poetry.lock index 668b7d9d6..9882da850 100644 --- a/poetry.lock +++ b/poetry.lock @@ -10583,6 +10583,11 @@ files = [ {file = "triton-3.0.0-1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:34e509deb77f1c067d8640725ef00c5cbfcb2052a1a3cb6a6d343841f92624eb"}, {file = "triton-3.0.0-1-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:bcbf3b1c48af6a28011a5c40a5b3b9b5330530c3827716b5fbf6d7adcc1e53e9"}, {file = "triton-3.0.0-1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:6e5727202f7078c56f91ff13ad0c1abab14a0e7f2c87e91b12b6f64f3e8ae609"}, + {file = "triton-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:39b052da883351fdf6be3d93cedae6db3b8e3988d3b09ed221bccecfa9612230"}, + {file = "triton-3.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cd34f19a8582af96e6291d4afce25dac08cb2a5d218c599163761e8e0827208e"}, + {file = "triton-3.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0d5e10de8c011adeb7c878c6ce0dd6073b14367749e34467f1cff2bde1b78253"}, + {file = "triton-3.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:e8903767951bf86ec960b4fe4e21bc970055afc65e9d57e916d79ae3c93665e3"}, + {file = "triton-3.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:41004fb1ae9a53fcb3e970745feb87f0e3c94c6ce1ba86e95fa3b8537894bef7"}, ] [package.dependencies] @@ -12087,4 +12092,4 @@ local = ["ctransformers", "llama-cpp-python", "sentence-transformers"] [metadata] lock-version = "2.0" python-versions = ">=3.10,<3.13" -content-hash = "22fc0755bfc3ae10abe8d225f832b22dcb81c4d52f52accc8ce4a27a4d06fdb9" +content-hash = "66a79ae2b64b5e513327b265cf4973a066345e5bc1857339dce759ca7630c0a5" diff --git a/pyproject.toml b/pyproject.toml index a5e7e516e..3e5ba2cff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,6 +110,7 @@ lark = "^1.2.2" jq = "^1.8.0" clickhouse-connect = {version = "0.7.19", optional = true, extras = ["clickhouse-connect"]} langchain-unstructured = "^0.1.2" +pydantic-settings = "2.4.0" [tool.poetry.group.dev.dependencies] diff --git a/src/backend/base/langflow/main.py b/src/backend/base/langflow/main.py index c42423a73..d46fb31dd 100644 --- a/src/backend/base/langflow/main.py +++ b/src/backend/base/langflow/main.py @@ -30,7 +30,6 @@ from langflow.interface.types import get_and_cache_all_types_dict from langflow.interface.utils import setup_llm_caching from langflow.logging.logger import configure from langflow.services.deps import get_cache_service, get_settings_service, get_telemetry_service -from langflow.services.plugins.langfuse_plugin import LangfuseInstance from langflow.services.utils import initialize_services, teardown_services # Ignore Pydantic deprecation warnings from Langchain @@ -91,7 +90,6 @@ def get_lifespan(fix_migration=False, socketio_server=None, version=None): try: initialize_services(fix_migration=fix_migration, socketio_server=socketio_server) setup_llm_caching() - LangfuseInstance.update() initialize_super_user_if_needed() task = asyncio.create_task(get_and_cache_all_types_dict(get_settings_service(), get_cache_service())) await create_or_update_starter_projects(task) diff --git a/src/backend/base/langflow/services/settings/base.py b/src/backend/base/langflow/services/settings/base.py index 223ea6707..48d96645c 100644 --- a/src/backend/base/langflow/services/settings/base.py +++ b/src/backend/base/langflow/services/settings/base.py @@ -111,12 +111,6 @@ class Settings(BaseSettings): sentry_traces_sample_rate: Optional[float] = 1.0 sentry_profiles_sample_rate: Optional[float] = 1.0 - # PLUGIN_DIR: Optional[str] = None - - langfuse_secret_key: Optional[str] = None - langfuse_public_key: Optional[str] = None - langfuse_host: Optional[str] = None - store: Optional[bool] = True store_url: Optional[str] = "https://api.langflow.store" download_webhook_url: Optional[str] = (