mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
Merge pull request #1012 from crewAIInc/fix/breaking-test-task-eval
fix test due to asserting instructions model_schema change
This commit is contained in:
@@ -56,8 +56,7 @@ def test_evaluate_training_data(converter_mock):
|
|||||||
"based on the human feedback\n",
|
"based on the human feedback\n",
|
||||||
model=TrainingTaskEvaluation,
|
model=TrainingTaskEvaluation,
|
||||||
instructions="I'm gonna convert this raw text into valid JSON.\n\nThe json should have the "
|
instructions="I'm gonna convert this raw text into valid JSON.\n\nThe json should have the "
|
||||||
"following structure, with the following keys:\n- suggestions: List[str]\n- "
|
"following structure, with the following keys:\n{\n suggestions: List[str],\n quality: float,\n final_summary: str\n}",
|
||||||
"quality: float\n- final_summary: str",
|
|
||||||
),
|
),
|
||||||
mock.call().to_pydantic(),
|
mock.call().to_pydantic(),
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user