diff --git a/src/backend/base/langflow/services/tracing/base.py b/src/backend/base/langflow/services/tracing/base.py index 2a5d609c9..c96388227 100644 --- a/src/backend/base/langflow/services/tracing/base.py +++ b/src/backend/base/langflow/services/tracing/base.py @@ -1,29 +1,16 @@ from abc import ABC, abstractmethod -from typing import Dict, Any +from typing import Any, Dict -class BaseTrace(ABC): - +class BaseTracer(ABC): @abstractmethod def ready(self): raise NotImplementedError - @abstractmethod - def setup_langsmith(self): - raise NotImplementedError - @abstractmethod def add_trace(self, trace_name: str, trace_type: str, inputs: Dict[str, Any], metadata: Dict[str, Any] = None): raise NotImplementedError - @abstractmethod - def _convert_to_langchain_types(self, io_dict: Dict[str, Any]): - raise NotImplementedError - - @abstractmethod - def _convert_to_langchain_type(self, value): - raise NotImplementedError - @abstractmethod def end_trace(self, trace_name: str, outputs: Dict[str, Any] = None, error: str = None): raise NotImplementedError