Implement thread-safe AgentEvaluator (#3157)
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled

* refactor: implement thread-safe AgentEvaluator with hybrid state management

* chore: remove useless comments
This commit is contained in:
Lucas Gomide
2025-07-14 11:05:42 -03:00
committed by GitHub
parent 5b15061b87
commit b6d699f764
3 changed files with 76 additions and 54 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):