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:
Brandon Hancock (bhancock_ai)
2024-07-26 16:55:26 -04:00
committed by GitHub

View File

@@ -56,8 +56,7 @@ def test_evaluate_training_data(converter_mock):
"based on the human feedback\n",
model=TrainingTaskEvaluation,
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- "
"quality: float\n- final_summary: str",
"following structure, with the following keys:\n{\n suggestions: List[str],\n quality: float,\n final_summary: str\n}",
),
mock.call().to_pydantic(),
]