fix: add expected_output field to Task in tests

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-09 22:43:22 +00:00
parent f3704a44b3
commit 5f5a1b3687

View File

@@ -17,6 +17,7 @@ def test_crew_test_with_custom_llm():
)
task = Task(
description="test",
expected_output="test output",
agent=agent,
)
crew = Crew(agents=[agent], tasks=[task])
@@ -45,6 +46,7 @@ def test_crew_evaluator_with_custom_llm():
)
task = Task(
description="test",
expected_output="test output",
agent=agent,
)
crew = Crew(agents=[agent], tasks=[task])