mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
Add event emission for agent execution lifecycle
- Emit AgentExecutionStarted and AgentExecutionError events - Update CrewAgentExecutor to use event_bus for tracking agent execution - Refactor error handling to include event emission - Minor code formatting improvements in task.py and crew_agent_executor.py - Fix a typo in test file
This commit is contained in:
@@ -190,7 +190,7 @@ def test_agent_emits_execution_started_and_completed_events():
|
||||
"ask_for_human_input": False,
|
||||
"input": "Just say hi\n"
|
||||
"\n"
|
||||
"This is the expect criteria for your final answer: hi\n"
|
||||
"This is the expected criteria for your final answer: hi\n"
|
||||
"you MUST return the actual complete content as the final answer, not a "
|
||||
"summary.",
|
||||
"tool_names": "",
|
||||
|
||||
Reference in New Issue
Block a user