From c3e4623427a5648c435dd081095fd64f6dfa46ce Mon Sep 17 00:00:00 2001 From: Kwasi Ankomah Date: Sat, 7 Dec 2024 00:37:27 +0000 Subject: [PATCH] sorting fix --- integrations/crewai/utils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integrations/crewai/utils.py b/integrations/crewai/utils.py index 993d5f72..f3868377 100644 --- a/integrations/crewai/utils.py +++ b/integrations/crewai/utils.py @@ -1,7 +1,7 @@ import os from typing import Optional -from dotenv import find_dotenv, load_dotenv # type: ignore[import] +from dotenv import find_dotenv, load_dotenv # type: ignore[import] def load_env() -> None: @@ -26,10 +26,10 @@ def get_serper_api_key() -> Optional[str]: def pretty_print_result(result: str) -> str: """ Break lines at 80 characters, avoiding word breaks. - + Args: result: The text to format - + Returns: Formatted text with appropriate line breaks """ @@ -87,10 +87,10 @@ def update_task_output_format(tasks_config: dict, task_name: str, format_expecte def escape_format_instructions(format_instructions: str) -> str: """ Escapes curly braces in the format instructions to prevent CrewAI from interpreting them as variables. - + Args: format_instructions: The format instructions to escape - + Returns: Escaped format instructions """ @@ -120,4 +120,4 @@ def escape_format_instructions(format_instructions: str) -> str: Example output: {example} -""" \ No newline at end of file +"""