Skip to content

Commit

Permalink
sorting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
snova-kwasia committed Dec 7, 2024
1 parent a9ddbbf commit c3e4623
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions integrations/crewai/utils.py
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
"""
Expand Down Expand Up @@ -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
"""
Expand Down Expand Up @@ -120,4 +120,4 @@ def escape_format_instructions(format_instructions: str) -> str:
Example output:
{example}
"""
"""

0 comments on commit c3e4623

Please sign in to comment.