refactor: implement thread-safe AgentEvaluator with hybrid state management

This commit is contained in:
Lucas Gomide
2025-07-14 10:20:01 -03:00
parent 5b15061b87
commit a56bfa3c2c
2 changed files with 75 additions and 45 deletions

View File

@@ -42,7 +42,7 @@ class TestAgentEvaluator:
agent_evaluator = AgentEvaluator()
agent_evaluator.set_iteration(3)
assert agent_evaluator.iteration == 3
assert agent_evaluator._execution_state.iteration == 3
@pytest.mark.vcr(filter_headers=["authorization"])
def test_evaluate_current_iteration(self, mock_crew):