diff --git a/backend/services/intelligence/agents/core_agent_framework.py b/backend/services/intelligence/agents/core_agent_framework.py index d32416d7..26896589 100644 --- a/backend/services/intelligence/agents/core_agent_framework.py +++ b/backend/services/intelligence/agents/core_agent_framework.py @@ -29,7 +29,7 @@ _core_llm_cache = {} # Optional MLflow integration try: - import mlflow + import mlflow # type: ignore # pylint: disable=import-error MLFLOW_AVAILABLE = True except ImportError: MLFLOW_AVAILABLE = False diff --git a/frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx b/frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx index 3fda4e75..60ccebb8 100644 --- a/frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx +++ b/frontend/src/components/MainDashboard/components/TeamHuddleWidget.tsx @@ -41,7 +41,7 @@ const TeamHuddleWidget: React.FC = () => { return runs.slice(0, 5).map((run) => { const agentType = String(run.agent_type || 'strategy'); // Simple heuristic for icon mapping - let IconComponent = StrategyIcon; + let IconComponent: React.ElementType = StrategyIcon; for (const key in ICON_BY_AGENT) { if (agentType.toLowerCase().includes(key)) { IconComponent = ICON_BY_AGENT[key];