Skip to content

Commit 52178b3

Browse files
committed
fix ep logs issue
1 parent 1283ce2 commit 52178b3

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

eval_protocol/cli.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@
1515
logger = logging.getLogger(__name__)
1616

1717

18-
from eval_protocol.evaluation import create_evaluation, preview_evaluation
19-
2018
from .cli_commands.agent_eval_cmd import agent_eval_command
21-
from .cli_commands.common import (
22-
check_agent_environment,
23-
check_environment,
24-
setup_logging,
25-
)
19+
from .cli_commands.common import setup_logging
2620
from .cli_commands.deploy import deploy_command
2721
from .cli_commands.deploy_mcp import deploy_mcp_command
2822
from .cli_commands.logs import logs_command

eval_protocol/cli_commands/agent_eval_cmd.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,7 @@ def dummy_dump(x, **kwargs):
2727
import os # For environment variables
2828
from pathlib import Path
2929

30-
from pydantic import ValidationError
31-
32-
from eval_protocol.agent import Orchestrator
3330
from eval_protocol.agent.task_manager import TaskManager
34-
from eval_protocol.models import TaskDefinitionModel # Import the new Pydantic model
3531

3632
# setup_logging is already called in cli.py's main, but good for standalone use if any
3733
# from .common import setup_logging

eval_protocol/cli_commands/run_eval_cmd.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
OmegaConf,
1818
)
1919

20-
from eval_protocol.execution.pipeline import EvaluationPipeline
2120

2221
logger = logging.getLogger(__name__)
2322

@@ -26,6 +25,8 @@ def run_evaluation_command_logic(cfg: DictConfig) -> None:
2625
"""
2726
Main logic for the 'run-evaluation' command.
2827
"""
28+
from eval_protocol.execution.pipeline import EvaluationPipeline
29+
2930
logger.info("Starting 'run-evaluation' command with resolved Hydra config.")
3031

3132
# Make Hydra's runtime output directory available to the pipeline if needed

0 commit comments

Comments
 (0)