Apply automatic linting fixes to src directory

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-05-12 13:30:50 +00:00
parent 807dfe0558
commit ad1ea46bbb
160 changed files with 3218 additions and 3197 deletions

View File

@@ -8,7 +8,7 @@ class BaseConverterAdapter(ABC):
converter adapters must implement for converting structured output.
"""
def __init__(self, agent_adapter):
def __init__(self, agent_adapter) -> None:
self.agent_adapter = agent_adapter
@abstractmethod
@@ -16,14 +16,11 @@ class BaseConverterAdapter(ABC):
"""Configure agents to return structured output.
Must support json and pydantic output.
"""
pass
@abstractmethod
def enhance_system_prompt(self, base_prompt: str) -> str:
"""Enhance the system prompt with structured output instructions."""
pass
@abstractmethod
def post_process_result(self, result: str) -> str:
"""Post-process the result to ensure it matches the expected format: string."""
pass