linter fix

This commit is contained in:
João Moura
2025-06-08 23:57:35 -07:00
parent ea8f97327e
commit 37ce22048d
2 changed files with 2 additions and 2 deletions

View File

@@ -305,7 +305,7 @@ class AgentReasoning:
try:
backstory = getattr(self.agent, "backstory", "No backstory provided")
return backstory
except Exception as e:
except Exception:
return "No backstory provided"
def __create_reasoning_prompt(self) -> str:

View File

@@ -304,7 +304,7 @@ def patch_rpm_controller():
from crewai.utilities.rpm_controller import RPMController
from unittest.mock import patch
original_reset_request_count = RPMController._reset_request_count
RPMController._reset_request_count
def mock_reset_request_count(self):
"""Mock that prevents the recurring timer from being set up."""