From 563512b5e27a86341183fc90ab4832461741bcc9 Mon Sep 17 00:00:00 2001 From: lorenzejay Date: Thu, 29 Jan 2026 17:17:21 -0800 Subject: [PATCH] adjust test --- lib/crewai/tests/utilities/test_converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/crewai/tests/utilities/test_converter.py b/lib/crewai/tests/utilities/test_converter.py index 03f7d0816..017f7f8ae 100644 --- a/lib/crewai/tests/utilities/test_converter.py +++ b/lib/crewai/tests/utilities/test_converter.py @@ -220,7 +220,7 @@ def test_get_conversion_instructions_gpt() -> None: supports_function_calling.return_value = True instructions = get_conversion_instructions(SimpleModel, llm) # Now using OpenAPI schema format for all models - assert "Ensure your final answer strictly adheres to the following OpenAPI schema:" in instructions + assert "Format your final answer according to the following OpenAPI schema:" in instructions assert '"type": "json_schema"' in instructions assert '"name": "SimpleModel"' in instructions assert "Do not include the OpenAPI schema in the final output" in instructions @@ -231,7 +231,7 @@ def test_get_conversion_instructions_non_gpt() -> None: with patch.object(LLM, "supports_function_calling", return_value=False): instructions = get_conversion_instructions(SimpleModel, llm) # Now using OpenAPI schema format for all models - assert "Ensure your final answer strictly adheres to the following OpenAPI schema:" in instructions + assert "Format your final answer according to the following OpenAPI schema:" in instructions assert '"type": "json_schema"' in instructions assert '"name": "SimpleModel"' in instructions assert "Do not include the OpenAPI schema in the final output" in instructions