- Adding Prometheus and grafana services in development
- Adding Prometheus metrics to the business events - Ensure asynchronous behaviour of crewai specialists. - Adapt Business events to working in mixed synchronous / asynchronous contexts - Extend business events with specialist information - Started adding a grafana dashboard (TBC)
This commit is contained in:
@@ -28,13 +28,13 @@ class BaseSpecialistExecutor(ABC):
|
||||
@abstractmethod
|
||||
def type(self) -> str:
|
||||
"""The type of the specialist"""
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def type_version(self) -> str:
|
||||
"""The type version of the specialist"""
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
def _initialize_retrievers(self) -> List[BaseRetriever]:
|
||||
"""Initialize all retrievers associated with this specialist"""
|
||||
@@ -96,7 +96,7 @@ class BaseSpecialistExecutor(ABC):
|
||||
@abstractmethod
|
||||
def execute_specialist(self, arguments: SpecialistArguments) -> SpecialistResult:
|
||||
"""Execute the specialist's logic"""
|
||||
pass
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
def get_specialist_class(specialist_type: str, type_version: str):
|
||||
|
||||
Reference in New Issue
Block a user