fix: disables langfuse_plugin code (#3745)
This commit is contained in:
parent
d668424ef3
commit
bf640be53f
4 changed files with 7 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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] = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue